From d3d31ddcc8d1f4256a64060131d77fc05d073a68 Mon Sep 17 00:00:00 2001 From: nhtyy Date: Tue, 26 Nov 2024 12:04:39 -0800 Subject: [PATCH] fix: try bumping cpus on lint, cargo clean afte cli install --- .github/workflows/pr.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 6adddf8ea..cd4b03bc2 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -42,6 +42,7 @@ jobs: cargo run -p sp1-cli -- prove install-toolchain cd crates/cli cargo install --locked --path . + cargo clean - name: Run cargo check uses: actions-rs/cargo@v1 @@ -85,6 +86,7 @@ jobs: cargo run -p sp1-cli -- prove install-toolchain cd crates/cli cargo install --locked --path . + cargo clean - name: Run cargo check uses: actions-rs/cargo@v1 @@ -106,7 +108,7 @@ jobs: lint: name: Formatting & Clippy - runs-on: [runs-on, runner=8cpu-linux-x64, "run-id=${{ github.run_id }}"] + runs-on: [runs-on, runner=16cpu-linux-x64, "run-id=${{ github.run_id }}"] env: CARGO_NET_GIT_FETCH_WITH_CLI: "true" steps: @@ -121,6 +123,7 @@ jobs: cargo run -p sp1-cli -- prove install-toolchain cd crates/cli cargo install --locked --path . + cargo clean - name: Run cargo fmt uses: actions-rs/cargo@v1 @@ -148,7 +151,7 @@ jobs: check: name: Cargo Check - runs-on: [runs-on, runner=8cpu-linux-x64, disk=medium, "run-id=${{ github.run_id }}"] + runs-on: [runs-on, runner=16cpu-linux-x64, disk=medium, "run-id=${{ github.run_id }}"] env: CARGO_NET_GIT_FETCH_WITH_CLI: "true" steps: @@ -163,6 +166,7 @@ jobs: cargo run -p sp1-cli -- prove install-toolchain cd crates/cli cargo install --locked --path . + cargo clean - name: Check workspace no features uses: actions-rs/cargo@v1 @@ -206,6 +210,7 @@ jobs: cargo run -p sp1-cli -- prove install-toolchain cd crates/cli cargo install --locked --path . + cargo clean - name: Run cargo fmt run: | @@ -239,6 +244,7 @@ jobs: cargo run -p sp1-cli -- prove install-toolchain cd crates/cli cargo install --locked --path . + cargo clean - name: Run cargo prove new run: | @@ -272,6 +278,7 @@ jobs: cargo run -p sp1-cli -- prove install-toolchain cd crates/cli cargo install --locked --path . + cargo clean - name: Run Evaluation run: | @@ -318,6 +325,7 @@ jobs: cargo run -p sp1-cli -- prove install-toolchain cd crates/cli cargo install --locked --path . + cargo clean - name: Run tendermint script run: |