Skip to content

Commit e9c8606

Browse files
committed
Fix lint CI job
1 parent bf6a247 commit e9c8606

1 file changed

Lines changed: 9 additions & 7 deletions

File tree

.github/workflows/lint.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,21 @@ on:
1212
jobs:
1313
lint:
1414
runs-on: ubuntu-latest
15+
strategy:
16+
fail-fast: false
17+
matrix:
18+
python-version: ["3.9", "3.10", "3.11", "3.12"]
1519

1620
steps:
1721
- uses: actions/checkout@v3
1822

19-
- name: Install Python 3
20-
uses: actions/setup-python@v3
23+
- name: Install uv
24+
uses: astral-sh/setup-uv@v5
2125
with:
22-
python-version: "3.11"
26+
python-version: ${{ matrix.python-version }}
2327

24-
- name: Install dependencies
25-
run: |
26-
python -m pip install --upgrade pip
27-
pip install -r requirements.txt
28+
- name: Check lockfile
29+
run: uv lock --check
2830

2931
- name: Run mypy
3032
run: uv run mypy .

0 commit comments

Comments
 (0)