forked from emmaguo13/zk-blind
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0aeef69
commit 4dec2cb
Showing
3 changed files
with
81 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: ZK-JWT tests | ||
name: ZK JWT tests | ||
on: [push] | ||
jobs: | ||
run_circuit_tests: | ||
|
@@ -7,6 +7,7 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
# Circom installation from https://github.com/erhant/circomkit/blob/main/.github/workflows/tests.yml | ||
- name: Install dependencies | ||
run: | | ||
sudo apt-get update | ||
|
@@ -22,11 +23,17 @@ jobs: | |
with: | ||
node-version: 18 | ||
|
||
- name: Enable Corepack | ||
run: corepack enable | ||
- name: Setup Rust | ||
uses: dtolnay/rust-toolchain@stable | ||
|
||
- name: Set Yarn Version | ||
run: corepack prepare [email protected] --activate | ||
- name: Download Circom Binary v2.1.8 | ||
run: | | ||
wget -qO /home/runner/work/circom https://github.com/iden3/circom/releases/download/v2.1.8/circom-linux-amd64 | ||
chmod +x /home/runner/work/circom | ||
sudo mv /home/runner/work/circom /bin/circom | ||
- name: Print Circom version | ||
run: circom --version | ||
|
||
- name: Install Yarn dependencies | ||
working-directory: ./packages/circuits | ||
|
@@ -46,12 +53,6 @@ jobs: | |
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18 | ||
|
||
- name: Enable Corepack | ||
run: corepack enable | ||
|
||
- name: Set Yarn Version | ||
run: corepack prepare [email protected] --activate | ||
|
||
- name: Install Yarn dependencies | ||
working-directory: ./packages/helpers | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
nodeLinker: node-modules | ||
|
||
yarnPath: .yarn/releases/yarn-3.2.3.cjs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters