Skip to content

Commit

Permalink
ci: update clippy workflow to include toolchain setup and version checks
Browse files Browse the repository at this point in the history
  • Loading branch information
itsyaasir committed Nov 25, 2024
1 parent 43250ef commit 4452c16
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/clippy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Rust setup
uses: ./.github/actions/rust/setup
- name: Update local toolchain
run: |
rustup update
rustup component add clippy
- name: Toolchain info
run: |
cargo --version --verbose
rustc --version
cargo clippy --version
- name: Check formatting
run: cargo fmt -- --check
Expand Down

0 comments on commit 4452c16

Please sign in to comment.