Skip to content

Commit

Permalink
Run clippy checks in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
tgross35 committed Dec 29, 2024
1 parent 4571d11 commit 5009548
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,22 @@ jobs:
- run: cargo test --all

clippy:
name: Clippy
runs-on: ubuntu-24.04
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Update rust
run: |
# use beta since it gives us near-latest fixes but isn't as volatile as nightly
rustup default beta
rustup component add clippy
rustup update --no-self-update
- run: cargo clippy --all

msrv:
name: Check building with the MSRV
runs-on: ubuntu-24.04
Expand Down Expand Up @@ -70,6 +86,7 @@ jobs:
success:
needs:
- test
- clippy
- msrv
- rustfmt
runs-on: ubuntu-latest
Expand Down

0 comments on commit 5009548

Please sign in to comment.