Skip to content

Internal audit changes and allow specifying notary key #856

Internal audit changes and allow specifying notary key

Internal audit changes and allow specifying notary key #856

Workflow file for this run

name: circuit
on: [pull_request]
jobs:
run-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Specify node version...
uses: actions/setup-node@v3
with:
node-version: '18.15.0'
- name: Enable Corepack
run: corepack enable
- name: Install rust...
run: curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf | sh -s -- -y
working-directory: ./circuits-circom
- name: Install circom...
run: git clone https://github.com/iden3/circom.git && cd circom && cargo build --release && cargo install --path circom
working-directory: ../
- name: Create env...
run: cp scripts/circuit.env.example scripts/circuit.env
working-directory: ./circuits-circom
- name: Installing Common Dependencies
run: yarn install
working-directory: ./circuits-circom/circuits/common
- name: Testing Common circuits...
run: yarn test
working-directory: ./circuits-circom/circuits/common
- name: Installing Common V2 Dependencies
run: yarn install
working-directory: ./circuits-circom/circuits/common-v2
- name: Testing Common V2 circuits...
run: yarn test
working-directory: ./circuits-circom/circuits/common-v2
- name: Install Venmo Dependencies
run: yarn install
working-directory: ./circuits-circom/circuits/venmo
- name: Testing Venmo regexes...
run: yarn test test/regexes
working-directory: ./circuits-circom/circuits/venmo
- name: Installing HDFC Dependencies
run: yarn install
working-directory: ./circuits-circom/circuits/hdfc
- name: Testing HDFC regexes...
run: yarn test test/regexes
working-directory: ./circuits-circom/circuits/hdfc
- name: Installing Paylah Dependencies
run: yarn install
working-directory: ./circuits-circom/circuits/paylah
- name: Testing Paylah regexes...
run: yarn test test/regexes
working-directory: ./circuits-circom/circuits/paylah
- name: Installing Garanti Dependencies
run: yarn install
working-directory: ./circuits-circom/circuits/garanti
- name: Testing Garanti regexes...
run: yarn test test/regexes
working-directory: ./circuits-circom/circuits/garanti