Skip to content

Commit 6e757ff

Browse files
committed
Fix lint CI job
1 parent bf6a247 commit 6e757ff

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

.github/workflows/lint.yml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,22 +12,24 @@ 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
30-
run: uv run mypy .
32+
run: mypy ocu/**/*.py tests/*.py
3133

3234
- name: Run ruff
3335
run: |

0 commit comments

Comments
 (0)