mirror of
https://github.com/gfx-rs/wgpu.git
synced 2026-04-22 03:02:01 -04:00
run clippy on MSRV
+ tweak to get CI to run again
This commit is contained in:
14
.github/workflows/ci.yml
vendored
14
.github/workflows/ci.yml
vendored
@@ -15,7 +15,7 @@ jobs:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Install MSRV toolchain
|
||||
run: rustup toolchain install $MSRV --no-self-update --profile=minimal
|
||||
run: rustup toolchain install $MSRV --no-self-update --profile=minimal --component clippy
|
||||
|
||||
- name: Install nightly toolchain
|
||||
run: rustup toolchain install nightly --no-self-update --profile=minimal
|
||||
@@ -29,7 +29,7 @@ jobs:
|
||||
- run: cargo +nightly hack generate-lockfile --remove-dev-deps -Z minimal-versions --offline
|
||||
|
||||
- name: Test all features
|
||||
run: cargo +$MSRV check --all-features --workspace
|
||||
run: cargo +$MSRV clippy --all-features --workspace -- -D warnings
|
||||
|
||||
test:
|
||||
name: Test
|
||||
@@ -75,16 +75,6 @@ jobs:
|
||||
cd fuzz
|
||||
cargo check
|
||||
|
||||
clippy:
|
||||
name: Clippy
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- run: rustup component add clippy
|
||||
|
||||
- run: cargo clippy --all-features --workspace -- -D warnings
|
||||
|
||||
documentation:
|
||||
name: Documentation
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
Reference in New Issue
Block a user