Skip to content

Commit

Permalink
ci: pin noir version
Browse files Browse the repository at this point in the history
  • Loading branch information
NikitaMasych committed Oct 25, 2024
1 parent 1277637 commit 78c882a
Showing 1 changed file with 13 additions and 34 deletions.
47 changes: 13 additions & 34 deletions .github/workflows/noir.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: noir
name: Noir CI

on:
pull_request:
Expand All @@ -11,47 +11,26 @@ permissions:
contents: read

jobs:
fmt-noir:
noir:
runs-on: ubuntu-latest

steps:
- name: Checkout Repository
uses: actions/checkout@v4

- name: Install Nargo
uses: noir-lang/noirup@v0.1.3
with:
toolchain: nightly
- name: Install Noirup
run: |
curl -L https://raw.githubusercontent.com/noir-lang/noirup/main/install | bash
source /home/runner/.bashrc
- name: Pin Nargo to Latest Working Commit
run: noirup -C 51ae1b324cd73fdb4fe3695b5d483a44b4aff4a9

- name: Run nargo fmt
run: nargo fmt --check

check-noir:
runs-on: ubuntu-latest

steps:
- name: Checkout Repository
uses: actions/checkout@v4

- name: Install Nargo
uses: noir-lang/noirup@v0.1.3
with:
toolchain: nightly


- name: Run nargo check
run: nargo check --silence-warnings

test-noir:
runs-on: ubuntu-latest

steps:
- name: Checkout Repository
uses: actions/checkout@v4

- name: Install Nargo
uses: noir-lang/noirup@v0.1.3
with:
toolchain: nightly

run: nargo check --silence-warnings

- name: Run nargo test
run: nargo test --silence-warnings
run: nargo test --silence-warnings

0 comments on commit 78c882a

Please sign in to comment.