From 64b345947ad34335130e3a72f36c661d7270b13f Mon Sep 17 00:00:00 2001 From: Kaze Date: Tue, 30 Sep 2025 13:36:38 +0900 Subject: [PATCH] fix(ci): lock foundry version now that foundry has stable releases, there is no reason to subject ourselves to the instability of the nightly releases. this PR proposes locking to the current foundry release v1.3.5, and we can manually bump it as it makes sense. as it so happens, the current nightly release seems to be changing the lint rules or something and the CI is currently failing with `main` branch code. --- .github/workflows/gas.yml | 2 +- .github/workflows/lint.yml | 2 +- .github/workflows/test.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/gas.yml b/.github/workflows/gas.yml index 03f7f4b5..40a3b44d 100644 --- a/.github/workflows/gas.yml +++ b/.github/workflows/gas.yml @@ -45,7 +45,7 @@ jobs: - name: Install Foundry uses: foundry-rs/foundry-toolchain@v1 with: - version: nightly + version: v1.3.5 - name: Check gas snapshots run: forge snapshot --check diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index ba3ac63e..7c790958 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -29,7 +29,7 @@ jobs: - name: Install Foundry uses: foundry-rs/foundry-toolchain@v1 with: - version: nightly + version: v1.3.5 - name: Check Forge fmt run: forge fmt --check diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9f8b25ba..5ba613cd 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -50,7 +50,7 @@ jobs: - name: Install Foundry uses: foundry-rs/foundry-toolchain@v1 with: - version: nightly + version: v1.3.5 - name: Run Forge build with ${{ matrix.profile }} # We always build with 0.7.6 to ensure that the project is compatible with the oldest version