Added custom circuit config and optional data args (#29) #16
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: tests | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install Rust toolchain | |
uses: actions-rust-lang/setup-rust-toolchain@v1 | |
- name: Install Circom | |
run: | | |
git clone https://github.com/iden3/circom.git | |
cd circom | |
cargo build --release | |
cargo install --path circom | |
cd .. | |
- name: Print Circom version | |
run: circom --help | |
- name: Install dependencies | |
run: yarn | |
- name: Format code | |
run: yarn format | |
- name: Lint code | |
run: yarn lint | |
- name: Build everything | |
run: yarn build | |
- name: Run tests | |
run: yarn test |