chore: Lib to root. Add example note #33
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 tests | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
test: | |
name: Test on Nargo ${{matrix.toolchain}} | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
toolchain: [nightly, 0.34.0] | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v4 | |
- name: Install Nargo | |
uses: noir-lang/[email protected] | |
with: | |
toolchain: ${{ matrix.toolchain }} | |
- name: Run Noir tests | |
run: nargo test | |
format: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v4 | |
- name: Install Nargo | |
uses: noir-lang/[email protected] | |
with: | |
toolchain: 0.34.0 | |
- name: Run formatter | |
run: nargo fmt --check |