|
18 | 18 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
19 | 19 | RISC0_TOOLCHAIN_VERSION: 1.85.0 |
20 | 20 | RISC0_MONOREPO_REF: "release-2.0" |
| 21 | + FOUNDRY_VERSION: v1.2.2 |
21 | 22 | # CARGO_LOCKED is defined as the string '--locked' in PRs targeting release branches and '' elsewhere. |
22 | 23 | CARGO_LOCKED: ${{ (startsWith(github.base_ref, 'release-') || startsWith(github.base_ref, 'refs/heads/release-')) && '--locked' || '' }} |
23 | 24 |
|
|
64 | 65 | - name: Install Foundry |
65 | 66 | uses: foundry-rs/foundry-toolchain@v1 |
66 | 67 | with: |
67 | | - version: "v1.0.0" |
| 68 | + version: ${{ env.FOUNDRY_VERSION }} |
68 | 69 | - name: forge check risc0-ethereum |
69 | 70 | run: forge fmt --check |
70 | 71 | working-directory: contracts |
@@ -106,7 +107,7 @@ jobs: |
106 | 107 | - name: Install Foundry |
107 | 108 | uses: foundry-rs/foundry-toolchain@v1 |
108 | 109 | with: |
109 | | - version: "v1.0.0" |
| 110 | + version: ${{ env.FOUNDRY_VERSION }} |
110 | 111 | - name: cargo clippy risc0-ethereum |
111 | 112 | run: cargo clippy $CARGO_LOCKED --workspace --all-targets --all-features |
112 | 113 | env: |
@@ -169,7 +170,7 @@ jobs: |
169 | 170 | - name: Install Foundry |
170 | 171 | uses: foundry-rs/foundry-toolchain@v1 |
171 | 172 | with: |
172 | | - version: "v1.0.0" |
| 173 | + version: ${{ env.FOUNDRY_VERSION }} |
173 | 174 | - name: cargo test |
174 | 175 | run: cargo test $CARGO_LOCKED --workspace |
175 | 176 | - name: cargo build with all features |
@@ -215,7 +216,7 @@ jobs: |
215 | 216 | - name: Install Foundry |
216 | 217 | uses: foundry-rs/foundry-toolchain@v1 |
217 | 218 | with: |
218 | | - version: "v1.0.0" |
| 219 | + version: ${{ env.FOUNDRY_VERSION }} |
219 | 220 | - name: cargo test all examples |
220 | 221 | run: ../.github/scripts/cargo-test.sh |
221 | 222 | working-directory: examples |
@@ -247,7 +248,7 @@ jobs: |
247 | 248 | - name: Install Foundry |
248 | 249 | uses: foundry-rs/foundry-toolchain@v1 |
249 | 250 | with: |
250 | | - version: "v1.0.0" |
| 251 | + version: ${{ env.FOUNDRY_VERSION }} |
251 | 252 | - run: cargo doc $CARGO_LOCKED --all-features --no-deps --workspace |
252 | 253 | env: |
253 | 254 | RISC0_SKIP_BUILD: true, |
|
0 commit comments