Skip to content

Commit

Permalink
fix: Use clippy from Stable Rust in CI and Release workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
fuzzypixelz committed Feb 27, 2024
1 parent d79325c commit 5b190d6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,14 @@ jobs:
run: cargo fmt --check

- name: Clippy
run: cargo clippy --all-targets -- --deny warnings
run: cargo +stable clippy --all-targets -- --deny warnings

- name: Clippy unstable targets
run: cargo clippy --all-targets --features unstable -- --deny warnings
run: cargo +stable clippy --all-targets --features unstable -- --deny warnings

- name: Clippy all features
if: ${{ matrix.os == 'ubuntu-latest' || matrix.os == 'macOS-latest' }}
run: cargo clippy --all-targets --all-features -- --deny warnings
run: cargo +stable clippy --all-targets --all-features -- --deny warnings

- name: Install generic no_std target
# Generic no_std target architecture is x86_64-unknown-none
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,13 @@ jobs:
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse

- name: Clippy check
run: cargo clippy --all-targets --features=${{ github.event.inputs.features}} -- --deny warnings
run: cargo +stable clippy --all-targets --features=${{ github.event.inputs.features}} -- --deny warnings

- name: Clippy unstable check
run: cargo clippy --all-targets -- --deny warnings
run: cargo +stable clippy --all-targets -- --deny warnings

- name: Clippy all features
run: cargo clippy --all-targets --all-features -- --deny warnings
run: cargo +stable clippy --all-targets --all-features -- --deny warnings

- name: Environment setup
id: env
Expand Down

0 comments on commit 5b190d6

Please sign in to comment.