diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index ff53993b..3bfcc274 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -47,10 +47,14 @@ jobs: run: cargo-sort --workspace --check --check-format - name: Run cargo clippy (no features) - run: cargo clippy --workspace --no-default-features --allow-dirty --fix -- -D warnings + run: | + echo "run `cargo clippy --workspace --no-default-features --allow-dirty --fix -- -D warnings` locally to fix clippy warnings" + cargo clippy --workspace --no-default-features -- -D warnings - name: Run cargo clippy (all features) - run: cargo clippy --workspace --all-features --allow-dirty --fix -- -D warnings + run: | + echo "run `cargo clippy --workspace --all-features --allow-dirty --fix -- -D warnings` locally to fix clippy warnings" + cargo clippy --workspace --all-features -- -D warnings - name: Run cargo doc run: cargo doc --no-deps --workspace