Skip to content

Commit 1081825

Browse files
committed
Swap corset for go-corset on CI build
This swaps out the Rust `corset` tool for the new `go-corset` tool in the CI build. This will help to ensure that the constraints always compile with `go-corset`.
1 parent 24c71a5 commit 1081825

File tree

1 file changed

+7
-17
lines changed

1 file changed

+7
-17
lines changed

.github/workflows/check.yml

Lines changed: 7 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -10,22 +10,12 @@ jobs:
1010
- name: Checkout repository
1111
uses: actions/checkout@v3
1212

13-
# The asset URL for the latest release can be found with:
14-
# curl -L -H "Accept: application/vnd.github+json" \
15-
# -H "Authorization: Bearer YOUR_GH_API_TOKEN" \
16-
# -H "X-GitHub-Api-Version: 2022-11-28" \
17-
# https://api.github.com/repos/ConsenSys/corset/releases/latest
18-
# | jq '.assets[] | select(.name|endswith("x86_64-unknown-linux-musl.tar.gz")) | .url'
19-
- name: Download Corset
20-
run: |
21-
curl -L \
22-
-H "Accept: application/octet-stream" \
23-
-H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
24-
-H "X-GitHub-Api-Version: 2022-11-28" \
25-
-o corset.tar.gz \
26-
https://api.github.com/repos/Consensys/corset/releases/assets/203897668
27-
tar xzf corset.tar.gz
28-
mv corset $HOME
13+
- name: Install Go
14+
uses: actions/[email protected]
15+
16+
- name: Install Go Corset
17+
shell: bash
18+
run: go install github.com/consensys/go-corset/cmd/go-corset@latest
2919

3020
- name: Build the constraint system
31-
run: CORSET=$HOME/corset make -B zkevm.bin
21+
run: make -B zkevm.go.bin

0 commit comments

Comments
 (0)