Skip to content

Commit

Permalink
move clippy and rustfmt to toolchain
Browse files Browse the repository at this point in the history
  • Loading branch information
nlgripto authored Dec 13, 2024
1 parent d6fc0bb commit c737ddf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: dtolnay/[email protected]
with:
components: "clippy, rustfmt"
- uses: Swatinem/rust-cache@v2
with:
cache-all-crates: true # we do this because we have a crapload of crates used for testing/CI
Expand All @@ -30,8 +32,6 @@ jobs:

- name: Check lints and clippy
run: |
rustup component add rustfmt
rustup component add clippy
cargo fmt --all -- --check
cargo clippy --all -- -D warnings
Expand Down

0 comments on commit c737ddf

Please sign in to comment.