Skip to content

Prepare for circom v2.2.0 upgrade #240

Prepare for circom v2.2.0 upgrade

Prepare for circom v2.2.0 upgrade #240

name: Circuit Unit Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
circuit-unit-tests:
runs-on: ubuntu-latest
steps:
- name: Setup node.js
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install circom
uses: supplypike/setup-bin@v4
with:
uri: https://github.com/iden3/circom/releases/download/v2.2.0/circom-linux-amd64
name: circom
version: 2.2.0
- name: Checkout circuits
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install circuit dependencies
working-directory: zkp/circuits
run: |
npm install
- name: Run circuit unit tests
working-directory: zkp/js
run: |
npm install
npm t