feat: parser state machine #3
Workflow file for this run
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
name: circom | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: use node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '16' | |
- name: install dependencies | |
run: | | |
npm install | |
npm install -g snarkjs | |
- name: download Circom | |
run: | | |
CIRCOM_VERSION=2.0.0 # Specify the version you need | |
curl -L https://github.com/iden3/circom/releases/download/v$CIRCOM_VERSION/circom-linux-amd64-$CIRCOM_VERSION.tar.gz -o circom.tar.gz | |
tar -xzf circom.tar.gz | |
sudo mv circom /usr/local/bin/ | |
circom --version # Verify installation | |
- name: run tests | |
run: npx mocha |