Skip to content

feat: updated to use noir_bigcurve library #48

feat: updated to use noir_bigcurve library

feat: updated to use noir_bigcurve library #48

Workflow file for this run

name: Noir CI
on:
pull_request:
branches: [main]
push:
branches: [main]
workflow_dispatch:
permissions:
contents: read
jobs:
noir:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Cache Cargo Registry
uses: actions/cache@v4
with:
path: ~/.cargo/registry
key: ${{ runner.os }}-cargo-registry-${{ hashFiles('Cargo.lock') }}
restore-keys: |
${{ runner.os }}-cargo-registry-
- name: Cache Cargo Index
uses: actions/cache@v4
with:
path: ~/.cargo/git
key: ${{ runner.os }}-cargo-index-${{ hashFiles('Cargo.lock') }}
restore-keys: |
${{ runner.os }}-cargo-index-
- name: Cache Nargo Build
uses: actions/cache@v4
with:
path: ~/.nargo
key: ${{ runner.os }}-nargo-${{ hashFiles('Cargo.lock', 'noirup') }}
restore-keys: |
${{ runner.os }}-nargo-
- name: Create `.nargo/bin` directory
shell: bash
run: |
mkdir -p $HOME/.nargo/bin
echo "${HOME}/.nargo/bin" >> $GITHUB_PATH
- name: Install Noir
run: |
curl -L https://raw.githubusercontent.com/noir-lang/noirup/main/noirup | bash -s -- \
-C 51ae1b324cd73fdb4fe3695b5d483a44b4aff4a9
- name: Run nargo fmt
run: nargo fmt --check
- name: Run nargo check
run: nargo check --silence-warnings
- name: Run nargo test
run: nargo test --silence-warnings