refactor: restore cargo clippy check in CI

This commit is contained in:
Hamir Mahal 2024-03-27 00:27:38 -07:00
parent e0b8e9bb57
commit 6253ce3090
No known key found for this signature in database

View file

@ -43,12 +43,8 @@ jobs:
# Don't use a 'components:' entry--we don't need them with beta/nightly, plus nightly often doesn't have them
override: true
# This block can be uncommented to add clippy to CI, but first the existing clippy warnings need to be fixed!
# - name: clippy
# run: |
# rustup component add clippy
# cargo clippy -- -D warnings
# if: matrix.toolchain == 'stable' && matrix.os == 'ubuntu-latest'
- run: cargo clippy -- -D warnings
if: matrix.toolchain == 'stable' && matrix.os == 'ubuntu-latest'
- run: |
rustup component add rustfmt