Skip to content

Update rustTest.yml #66

Update rustTest.yml

Update rustTest.yml #66

Workflow file for this run

name: Continuous integration
on: [push, pull_request, merge_group]
env:

Check failure on line 4 in .github/workflows/rustTest.yml

View workflow run for this annotation

GitHub Actions / Continuous integration

Invalid workflow file

The workflow is not valid. .github/workflows/rustTest.yml (Line: 4, Col: 5): Unexpected value ''
# RUSTFLAGS: "-Dwarnings"
# RUSTDOCFLAGS: "-Dwarnings"
jobs:
# This allows us to have one branch protection rule for the full test matrix.
# See: https://github.com/orgs/community/discussions/4324
checks:
name: Check clippy, formatting, and documentation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@1.83.0
with:
components: clippy, rustfmt
- uses: Swatinem/rust-cache@v2
- run: cargo clippy --workspace --all-targets --all-features
- run: cargo clippy --workspace --all-targets --no-default-features
- run: cargo fmt --check --all
- run: cargo doc --workspace --no-deps
min-version:
name: Check minimum Rust version
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@1.80.0
- uses: Swatinem/rust-cache@v2
- run: cargo check --workspace
fuzz:
name: Check fuzzers
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: nightly-2024-10-29
- uses: Swatinem/rust-cache@v2
- run: cargo install --locked cargo-fuzz@0.12.0
- run: cd tests/fuzz && cargo fuzz build --dev