Skip to content

Commit 094fb72

Browse files
authored
feat: swap corset for go-corset on CI build (#567)
1 parent 24c71a5 commit 094fb72

File tree

1 file changed

+8
-18
lines changed

1 file changed

+8
-18
lines changed

.github/workflows/check.yml

Lines changed: 8 additions & 18 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]
2915

30-
- name: Build the constraint system
31-
run: CORSET=$HOME/corset make -B zkevm.bin
16+
- name: Install Go Corset
17+
shell: bash
18+
run: go install github.com/consensys/go-corset/cmd/go-corset@latest
19+
20+
- name: Build Constraints
21+
run: make -B zkevm.go.bin

0 commit comments

Comments
 (0)