-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (28 loc) · 729 Bytes
/
lint.yml
File metadata and controls
36 lines (28 loc) · 729 Bytes
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
name: Lint
on:
push:
branches:
- "main"
pull_request:
branches:
- "main"
permissions: {}
jobs:
ruff:
name: "Ruff"
runs-on: "ubuntu-latest"
steps:
- name: Checkout the repository
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- name: Set up Python
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
with:
python-version: "3.13"
- name: Install uv
run: pip install uv
- name: Install requirements
run: uv pip install --system -r pyproject.toml
- name: Lint
run: uv run ruff check .
- name: Format
run: uv run ruff format . --check