Add GitHub workflow #1
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: Noir | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Noir toolchain | |
uses: noir-lang/[email protected] | |
with: | |
toolchain: nightly | |
- name: Run tests | |
run: | | |
nargo test | |
- name: Prove examples | |
run: | | |
nargo prove --workspace | |
- name: Verify examples | |
run: | | |
nargo verify --workspace |