generated from pluto/template
-
Notifications
You must be signed in to change notification settings - Fork 0
54 lines (43 loc) · 1.02 KB
/
check.yaml
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
49
50
51
52
53
54
name: Check
on:
push:
branches:
- main
pull_request:
jobs:
test:
name: test
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Install Nargo
uses: noir-lang/noirup@v0.1.3
with:
toolchain: v0.36.0
- name: Run Noir tests
run: nargo test
noir-fmt:
name: noir-fmt
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Install Nargo
uses: noir-lang/noirup@v0.1.3
with:
toolchain: v0.36.0
- name: Check Noir formatting
run: nargo fmt --check
toml-fmt:
name: toml-fmt
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Install cargo-binstall
uses: cargo-bins/cargo-binstall@main
- name: Install Taplo
run: cargo binstall --no-confirm taplo-cli
- name: Check TOML formatting
run: taplo fmt --check