Merge pull request #143 from worldcoin/karan-verify-compressed-proof #313
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
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
workflow_dispatch: | |
name: Unit Tests | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: recursive | |
- name: Install Foundry | |
uses: onbjerg/foundry-toolchain@v1 | |
with: | |
version: stable | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: "18" | |
cache: "npm" | |
- name: Install Dependencies | |
run: make install | |
- name: Build Contracts | |
run: make build | |
- name: Check formatting | |
run: make format-check | |
- name: Run Tests | |
env: | |
MAINNET_RPC_URL: ${{ secrets.MAINNET_RPC_URL }} | |
run: make test |