Skip to content

Commit a0cc2f0

Browse files
authored
Merge pull request #6 from imcf/ci/ruff-lint
ci: add ruff lint + format gate
2 parents 5bbd975 + 98e4da7 commit a0cc2f0

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

.github/workflows/lint.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Lint
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
9+
jobs:
10+
ruff:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
15+
- name: ruff check
16+
uses: astral-sh/ruff-action@v3
17+
with:
18+
args: "check"
19+
20+
- name: ruff format --check
21+
uses: astral-sh/ruff-action@v3
22+
with:
23+
args: "format --check"

0 commit comments

Comments
 (0)