Skip to content

Commit 0e03ef7

Browse files
committed
Lint in CI
1 parent daea9ca commit 0e03ef7

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/build.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,15 @@ on:
88
branches: [ main ]
99

1010
jobs:
11+
lint:
12+
runs-on: ubuntu-22.04
13+
steps:
14+
- uses: actions/checkout@v4
15+
- uses: astral-sh/ruff-action@v3
16+
- run: ruff check
17+
- run: ruff format --check --diff
1118
build-binaries:
19+
needs: [ lint ]
1220
strategy:
1321
matrix:
1422
include:

0 commit comments

Comments
 (0)