diff --git a/.github/workflows/build-common.yml b/.github/workflows/build-common.yml index ec8c4c6..e826e81 100644 --- a/.github/workflows/build-common.yml +++ b/.github/workflows/build-common.yml @@ -16,6 +16,8 @@ jobs: steps: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@1.80.1 + 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 @@ -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