File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 3838 rust-wasm : true
3939 rust-cache : true
4040
41- - name : Run lints
41+ - name : Run lints on main code
4242 run : BUILD_SPIN_EXAMPLES=0 make lint
4343
44+ - name : Run lints on examples
45+ run : BUILD_SPIN_EXAMPLES=0 make lint-rust-examples-and-testcases
46+
4447 - name : Cancel everything if linting fails
4548 if : failure()
4649
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ install:
5353test : lint test-unit test-integration
5454
5555.PHONY : lint
56- lint : lint-rust-examples-and-testcases
56+ lint :
5757 cargo clippy --all --all-targets --features all-tests -- -D warnings
5858 cargo fmt --all -- --check
5959
@@ -67,6 +67,9 @@ lint-rust-examples-and-testcases:
6767 || exit 1 ; \
6868 done
6969
70+ .PHONY : lint-all
71+ lint-all : lint lint-rust-examples-and-testcases
72+
7073# # Bring all of the checked in `Cargo.lock` files up-to-date
7174.PHONY : update-cargo-locks
7275update-cargo-locks :
You can’t perform that action at this time.
0 commit comments