Skip to content

Commit 4d417b8

Browse files
committed
ci: skip build on clippy
1 parent d7102d7 commit 4d417b8

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

.github/workflows/build-and-test-rust.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@ jobs:
3636
curl -L https://risczero.com/install | bash
3737
source /home/runner/.bashrc
3838
/home/runner/.risc0/bin/rzup install
39-
/home/runner/.risc0/bin/rzup install cargo-risczero 2.0.1
40-
/home/runner/.risc0/bin/rzup default cargo-risczero 2.0.1
4139
4240
- name: Cache Rust dependencies
4341
uses: actions/cache@v3
@@ -78,7 +76,7 @@ jobs:
7876
- name: Run Clippy on AggregationMode
7977
run: |
8078
cd aggregation_mode
81-
cargo clippy --all -- -D warnings
79+
RISC0_SKIP_BUILD=1 cargo clippy --all -- -D warnings
8280
8381
test:
8482
runs-on: aligned-runner
@@ -102,8 +100,6 @@ jobs:
102100
curl -L https://risczero.com/install | bash
103101
source /home/runner/.bashrc
104102
/home/runner/.risc0/bin/rzup install
105-
/home/runner/.risc0/bin/rzup install cargo-risczero 2.0.1
106-
/home/runner/.risc0/bin/rzup default cargo-risczero 2.0.1
107103
108104
- name: Cache Rust dependencies
109105
uses: actions/cache@v3

0 commit comments

Comments
 (0)