ci: separate nightly lints to separate job

This commit is contained in:
WillLillis 2025-03-01 21:10:02 -05:00 committed by Will Lillis
parent 998fb34d15
commit 1fdd1d250c
2 changed files with 12 additions and 0 deletions

View file

@ -32,6 +32,7 @@ jobs:
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: stable
components: clippy, rustfmt
- name: Set up nightly Rust toolchain
uses: actions-rust-lang/setup-rust-toolchain@v1
@ -44,6 +45,11 @@ jobs:
make lint
make lint-web
- name: Lint files (Rust nightly)
continue-on-error: true
run: |
make lint-nightly
sanitize:
uses: ./.github/workflows/sanitize.yml

View file

@ -104,6 +104,12 @@ test-wasm:
cargo xtask test-wasm
lint:
cargo update --workspace --locked --quiet
cargo check --workspace --all-targets
cargo +nightly fmt --all --check
cargo +stable clippy --workspace --all-targets -- -D warnings
lint-nightly:
cargo update --workspace --locked --quiet
cargo check --workspace --all-targets
cargo +nightly fmt --all --check