Colinnielsen/readme fixes #5
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: End to end π | |
on: | |
workflow_dispatch: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v4 | |
- name: Install Nargo | |
uses: noir-lang/noirup@v0.1.3 | |
with: | |
toolchain: v0.25.0 | |
- name: Install Foundry | |
uses: foundry-rs/foundry-toolchain@v1 | |
with: | |
version: nightly | |
- name: Install node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20.14.0 | |
- name: Install Dependencies | |
run: yarn | |
- name: Generate input data | |
run: yarn build --signers 8 --threshold 4 | |
- name: Generate Noir Proof | |
run: | | |
cd circuits && nargo prove | |
- name: Run Forge build | |
run: | | |
forge install | |
id: build | |
- name: Run Forge tests | |
run: | | |
forge test -vvv | |
id: test |