-
Notifications
You must be signed in to change notification settings - Fork 1
48 lines (38 loc) · 931 Bytes
/
noir.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
name: Noir CI
on:
pull_request:
branches: [main]
push:
branches: [main]
workflow_dispatch:
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
toolchain: [nightly, 0.36.0]
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Install Nargo
uses: noir-lang/noirup@v0.1.3
with:
toolchain: ${{ matrix.toolchain }}
- name: Run nargo check
run: nargo check --silence-warnings
- name: Run nargo test
run: nargo test --silence-warnings
format:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Install Nargo
uses: noir-lang/noirup@v0.1.3
with:
toolchain: 0.36.0
- name: Run formatter
run: nargo fmt --check