Skip to content

Commit 4259592

Browse files
committed
ci: adds circuit lint
1 parent 7b48d84 commit 4259592

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/ci.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,30 @@ jobs:
7171
- name: Run Solhint
7272
run: yarn solidity:lint
7373

74+
circuit-lint:
75+
name: Circuit Lint
76+
runs-on: ubuntu-latest
77+
steps:
78+
- name: Checkout code
79+
uses: actions/checkout@v4
80+
81+
- name: Setup Node.js
82+
uses: actions/setup-node@v4
83+
with:
84+
node-version: '20'
85+
cache: 'yarn'
86+
87+
- name: Install dependencies
88+
run: yarn install --frozen-lockfile
89+
90+
- name: Install Noir
91+
uses: noir-lang/[email protected]
92+
with:
93+
toolchain: '1.0.0-beta.6'
94+
95+
- name: Run Nargo Format
96+
run: yarn circuit:lint
97+
7498
format-check:
7599
name: Format Check
76100
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)