We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a1c6e30 commit 5d842ccCopy full SHA for 5d842cc
1 file changed
.github/workflows/lint.yml
@@ -1,17 +1,23 @@
1
name: Lint
2
on: [push, pull_request]
3
+
4
jobs:
5
lint:
6
runs-on: ubuntu-latest
7
steps:
- - uses: actions/checkout@v4
8
+ - uses: actions/checkout@v5
9
10
- name: Install uv
- uses: astral-sh/setup-uv@v3
11
+ uses: astral-sh/setup-uv@v7
12
13
- name: Set up Python
14
run: uv python install 3.12
15
16
- name: Install dependencies
- run: uv sync --extra dev
- - name: Run ruff
- run: uv run ruff check .
- - name: Run black
17
- run: uv run black --check .
+ run: uv sync --extra dev --python 3.12
18
19
+ - name: Check formatting with Ruff
20
+ run: uv run --python 3.12 ruff format --check .
21
22
+ - name: Run Ruff lint
23
+ run: uv run --python 3.12 ruff check .
0 commit comments