From cdfa8afdde89c7c099657709ba03cf1c9cbf1415 Mon Sep 17 00:00:00 2001 From: Ammar Arif Date: Mon, 20 Apr 2026 11:56:11 -0500 Subject: [PATCH] ci: pin starknet-foundry to 0.55.0 in test workflow MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit setup-snfoundry@v3 without a version input pulls the latest snforge (currently 0.59.0), which has an ABI break for starknet::testing::cheatcode against snforge_std "0.51" pinned in the Cairo packages. This causes every dojo-core-test and dojo-examples-test run to fail with: Reading from buffer failed, ... Probably snforge_std/sncast_std version is incompatible, check above for incompatibility warning. Pin the CLI to 0.55.0 — the version used when main last ran green on 2026-01-27 — to restore CI while the Cairo packages are bumped to 0.59 in a follow-up. Co-Authored-By: Claude Opus 4.7 (1M context) --- .github/workflows/test.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index fc3594a68e..7d57710426 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -128,6 +128,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: foundry-rs/setup-snfoundry@v3 + with: + starknet-foundry-version: "0.55.0" - uses: software-mansion/setup-scarb@v1 with: scarb-version: "2.13.1" @@ -145,6 +147,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: foundry-rs/setup-snfoundry@v3 + with: + starknet-foundry-version: "0.55.0" - uses: software-mansion/setup-scarb@v1 with: scarb-version: "2.13.1"