Skip to content

Commit 2a832a1

Browse files
committed
update Foundry in CI to 1.2.2
1 parent 51b57ab commit 2a832a1

2 files changed

Lines changed: 8 additions & 6 deletions

File tree

.github/workflows/e2e.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ env:
1919
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2020
RISC0_TOOLCHAIN_VERSION: 1.85.0
2121
RISC0_MONOREPO_REF: "release-2.0"
22+
FOUNDRY_VERSION: v1.2.2
2223

2324
jobs:
2425
e2e-tests:
@@ -71,7 +72,7 @@ jobs:
7172
- name: Install Foundry
7273
uses: foundry-rs/foundry-toolchain@v1
7374
with:
74-
version: "v1.0.0"
75+
version: ${{ env.FOUNDRY_VERSION }}
7576
- uses: ./.github/actions/cargo-risczero-install
7677
with:
7778
ref: ${{ env.RISC0_MONOREPO_REF }}

.github/workflows/main.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ env:
1818
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1919
RISC0_TOOLCHAIN_VERSION: 1.85.0
2020
RISC0_MONOREPO_REF: "release-2.0"
21+
FOUNDRY_VERSION: v1.2.2
2122
# CARGO_LOCKED is defined as the string '--locked' in PRs targeting release branches and '' elsewhere.
2223
CARGO_LOCKED: ${{ (startsWith(github.base_ref, 'release-') || startsWith(github.base_ref, 'refs/heads/release-')) && '--locked' || '' }}
2324

@@ -64,7 +65,7 @@ jobs:
6465
- name: Install Foundry
6566
uses: foundry-rs/foundry-toolchain@v1
6667
with:
67-
version: "v1.0.0"
68+
version: ${{ env.FOUNDRY_VERSION }}
6869
- name: forge check risc0-ethereum
6970
run: forge fmt --check
7071
working-directory: contracts
@@ -106,7 +107,7 @@ jobs:
106107
- name: Install Foundry
107108
uses: foundry-rs/foundry-toolchain@v1
108109
with:
109-
version: "v1.0.0"
110+
version: ${{ env.FOUNDRY_VERSION }}
110111
- name: cargo clippy risc0-ethereum
111112
run: cargo clippy $CARGO_LOCKED --workspace --all-targets --all-features
112113
env:
@@ -169,7 +170,7 @@ jobs:
169170
- name: Install Foundry
170171
uses: foundry-rs/foundry-toolchain@v1
171172
with:
172-
version: "v1.0.0"
173+
version: ${{ env.FOUNDRY_VERSION }}
173174
- name: cargo test
174175
run: cargo test $CARGO_LOCKED --workspace
175176
- name: cargo build with all features
@@ -215,7 +216,7 @@ jobs:
215216
- name: Install Foundry
216217
uses: foundry-rs/foundry-toolchain@v1
217218
with:
218-
version: "v1.0.0"
219+
version: ${{ env.FOUNDRY_VERSION }}
219220
- name: cargo test all examples
220221
run: ../.github/scripts/cargo-test.sh
221222
working-directory: examples
@@ -247,7 +248,7 @@ jobs:
247248
- name: Install Foundry
248249
uses: foundry-rs/foundry-toolchain@v1
249250
with:
250-
version: "v1.0.0"
251+
version: ${{ env.FOUNDRY_VERSION }}
251252
- run: cargo doc $CARGO_LOCKED --all-features --no-deps --workspace
252253
env:
253254
RISC0_SKIP_BUILD: true,

0 commit comments

Comments
 (0)