Skip to content

Commit a7205b2

Browse files
authored
chore: bump to cairo 2.12.2 (#3335)
* fix(scripts): remove benchmark project from checks * fix script to correctly handle workspace version too * bump to cairo 2.12.2 * fix clippy * fix version in mcp tests * fix tests and update scarb version in CI * fix cairo tests * remove unused dep
1 parent 5cc78f0 commit a7205b2

44 files changed

Lines changed: 318 additions & 456 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/release-dispatch.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ jobs:
3131
# Workaround described here: https://github.com/actions/checkout/issues/760
3232
- uses: actions/checkout@v3
3333
- run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
34+
# When we update the versions of Scarb, we may need to rebuild to ensure that all the Scarb.lock files are updated.
3435
- run: |
3536
VERSION=${{ inputs.version }}
3637
VERSION=${VERSION#v}

.github/workflows/test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262
- uses: actions/checkout@v3
6363
- uses: software-mansion/setup-scarb@v1
6464
with:
65-
scarb-version: "dev-2025-09-05"
65+
scarb-version: "2.12.2"
6666
- uses: Swatinem/rust-cache@v2
6767
- uses: actions/download-artifact@v4
6868
with:
@@ -120,7 +120,7 @@ jobs:
120120
- uses: actions/checkout@v3
121121
- uses: software-mansion/setup-scarb@v1
122122
with:
123-
scarb-version: "dev-2025-09-05"
123+
scarb-version: "2.12.2"
124124
- run: bash scripts/cairo_fmt.sh
125125

126126
dojo-core-test:
@@ -130,7 +130,7 @@ jobs:
130130
- uses: foundry-rs/setup-snfoundry@v3
131131
- uses: software-mansion/setup-scarb@v1
132132
with:
133-
scarb-version: "dev-2025-09-05"
133+
scarb-version: "2.12.2"
134134
- uses: actions/download-artifact@v4
135135
with:
136136
name: dojo-bins
@@ -147,7 +147,7 @@ jobs:
147147
- uses: foundry-rs/setup-snfoundry@v3
148148
- uses: software-mansion/setup-scarb@v1
149149
with:
150-
scarb-version: "dev-2025-09-05"
150+
scarb-version: "2.12.2"
151151
- uses: actions/download-artifact@v4
152152
with:
153153
name: dojo-bins

.tool-versions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
scarb dev-2025-09-05
1+
scarb 2.12.2
22
starknet-foundry 0.48.1
33
cairo-profiler 0.9.0
44
katana 1.7.0-alpha.3

0 commit comments

Comments
 (0)