chore(deps): bump afl from 0.13.1 to 0.13.3 (#319) #464
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test Suite | |
on: | |
pull_request: | |
merge_group: | |
types: [checks_requested] | |
push: | |
branches: | |
- main | |
concurrency: | |
# For pull requests, cancel running workflows, for main, run all | |
# | |
# `github.event.number` exists for pull requests, otherwise fall back to SHA | |
# for main | |
group: ${{ github.workflow }}-${{ github.event.number || github.sha }} | |
cancel-in-progress: true | |
env: | |
RUST_BACKTRACE: full | |
TEST_LOG: vector=debug | |
VERBOSE: true | |
CI: true | |
PROFILE: debug | |
jobs: | |
clippy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: Swatinem/rust-cache@v2 | |
- name: "clippy" | |
run: cargo clippy --workspace --all-targets -- -D warnings | |
fmt: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: Swatinem/rust-cache@v2 | |
- name: "fmt" | |
run: cargo fmt --check --all | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: Swatinem/rust-cache@v2 | |
- name: "test" | |
run: cargo test --workspace | |
vrl: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: Swatinem/rust-cache@v2 | |
- name: VRL tests | |
run: cargo run | |
working-directory: lib/tests | |
check-features: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: Swatinem/rust-cache@v2 | |
- name: Setup Cargo Hack | |
uses: bruxisma/[email protected] | |
- name: Check that all features can compile | |
run: cargo hack check --feature-powerset --depth 1 | |
check-licenses: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: Swatinem/rust-cache@v2 | |
- name: Install the 3rd-party license tool | |
run: cargo install --git https://github.com/DataDog/rust-license-tool | |
- name: Check that the 3rd-party license file is up to date | |
run: rust-license-tool check | |
wasm32-unknown-unknown: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: "Add wasm32-unknown-unknown target" | |
run: rustup target add wasm32-unknown-unknown | |
- uses: Swatinem/rust-cache@v2 | |
- name: "check" | |
run: cargo check --target wasm32-unknown-unknown --no-default-features --features stdlib |