Skip to content

Commit

Permalink
fix: workflow should force install just in case (#1824)
Browse files Browse the repository at this point in the history
  • Loading branch information
nhtyy authored Nov 26, 2024
1 parent 80a97c1 commit e66f998
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
run: |
cargo run -p sp1-cli -- prove install-toolchain
cd crates/cli
cargo install --locked --path .
cargo install --force --locked --path .
cargo clean
- name: Run cargo check
Expand Down Expand Up @@ -85,7 +85,7 @@ jobs:
run: |
cargo run -p sp1-cli -- prove install-toolchain
cd crates/cli
cargo install --locked --path .
cargo install --force --locked --path .
cargo clean
- name: Run cargo check
Expand Down Expand Up @@ -122,7 +122,7 @@ jobs:
run: |
cargo run -p sp1-cli -- prove install-toolchain
cd crates/cli
cargo install --locked --path .
cargo install --force --locked --path .
cargo clean
- name: Run cargo fmt
Expand Down Expand Up @@ -165,7 +165,7 @@ jobs:
run: |
cargo run -p sp1-cli -- prove install-toolchain
cd crates/cli
cargo install --locked --path .
cargo install --force --locked --path .
cargo clean
- name: Check workspace no features
Expand Down Expand Up @@ -209,7 +209,7 @@ jobs:
run: |
cargo run -p sp1-cli -- prove install-toolchain
cd crates/cli
cargo install --locked --path .
cargo install --force --locked --path .
cargo clean
- name: Run cargo fmt
Expand Down Expand Up @@ -243,7 +243,7 @@ jobs:
run: |
cargo run -p sp1-cli -- prove install-toolchain
cd crates/cli
cargo install --locked --path .
cargo install --force --locked --path .
cargo clean
- name: Run cargo prove new
Expand Down Expand Up @@ -277,7 +277,7 @@ jobs:
run: |
cargo run -p sp1-cli -- prove install-toolchain
cd crates/cli
cargo install --locked --path .
cargo install --force --locked --path .
cargo clean
- name: Run Evaluation
Expand Down Expand Up @@ -324,7 +324,7 @@ jobs:
run: |
cargo run -p sp1-cli -- prove install-toolchain
cd crates/cli
cargo install --locked --path .
cargo install --force --locked --path .
cargo clean
- name: Run tendermint script
Expand Down Expand Up @@ -369,7 +369,7 @@ jobs:

# - name: "Install cargo-prove"
# run: |
# cargo install --locked --path ./crates/cli
# cargo install --force --locked --path ./crates/cli

# - name: "Install SP1 toolchain"
# run: |
Expand Down
4 changes: 2 additions & 2 deletions crates/prover/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1540,8 +1540,8 @@ pub mod tests {
setup_logger();
let prover = SP1Prover::<DefaultProverComponents>::new();
let program = test_artifacts::FIBONACCI_ELF;
let (pk, vk) = prover.setup(&program);
let pk2 = prover.setup(&program).0;
let (pk, _) = prover.setup(program);
let pk2 = prover.setup(program).0;
assert_eq!(pk.pk.commit, pk2.pk.commit);
}
}

0 comments on commit e66f998

Please sign in to comment.