diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index af2021e..6d7382c 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -61,7 +61,7 @@ jobs: with: toolchain: nightly override: true - components: rustfmt, clippy + components: clippy - name: Setup Cache # Cache the dependencies uses: actions/cache@v3 continue-on-error: false @@ -77,9 +77,7 @@ jobs: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} ${{ runner.os }}-cargo - name: Linting # Lint the code - run: | - cargo fmt --all -- --check - cargo clippy --all-targets --all-features -- -Dwarnings + run: cargo clippy --all-targets --all-features -- -Dwarnings - name: Update dependencies # Update dependencies run: cargo update - name: Install cargo-hack