diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e023e86e2..0c3c8747c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -39,7 +39,7 @@ jobs: run: BUILD_SPIN_EXAMPLES=0 make lint - - name: Cancel everything if this fails + - name: Cancel everything if linting fails if: failure() uses: andymckay/cancel-action@0.2 diff --git a/Makefile b/Makefile index 0710546f0..108f420bd 100644 --- a/Makefile +++ b/Makefile @@ -54,7 +54,7 @@ test: lint test-unit test-integration .PHONY: lint lint: lint-rust-examples-and-testcases - cargo clippy --all --all-targets --all-features -- -D warnings + cargo clippy --all --all-targets --features all-tests -- -D warnings cargo fmt --all -- --check .PHONY: lint-rust-examples-and-testcases