Skip to content

Commit f97bf51

Browse files
committed
ci: update lint workflow to use uv, set minimum Github Actions permissions, and upgrade Python version to 3.14
1 parent 1cc8f31 commit f97bf51

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/lint.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
name: Lint
2-
2+
permissions:
3+
contents: read
4+
35
on:
46
push:
57
branches: [main]
@@ -22,12 +24,12 @@ jobs:
2224
- name: Set up Python
2325
uses: actions/setup-python@v6
2426
with:
25-
python-version: "3.12"
27+
python-version: "3.14"
2628

2729
- name: Install dependencies
2830
run: |
2931
uv sync
30-
uv pip install ruff mypy pytest
32+
uv add ruff mypy pytest
3133
3234
- name: Run ruff check
3335
run: uv run ruff check src/ tests/

0 commit comments

Comments
 (0)