We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bf6a247 commit 6e757ffCopy full SHA for 6e757ff
.github/workflows/lint.yml
@@ -12,22 +12,24 @@ on:
12
jobs:
13
lint:
14
runs-on: ubuntu-latest
15
+ strategy:
16
+ fail-fast: false
17
+ matrix:
18
+ python-version: ["3.9", "3.10", "3.11", "3.12"]
19
20
steps:
21
- uses: actions/checkout@v3
22
- - name: Install Python 3
- uses: actions/setup-python@v3
23
+ - name: Install uv
24
+ uses: astral-sh/setup-uv@v5
25
with:
- python-version: "3.11"
26
+ python-version: ${{ matrix.python-version }}
27
- - name: Install dependencies
- run: |
- python -m pip install --upgrade pip
- pip install -r requirements.txt
28
+ - name: Check lockfile
29
+ run: uv lock --check
30
31
- name: Run mypy
- run: uv run mypy .
32
+ run: mypy ocu/**/*.py tests/*.py
33
34
- name: Run ruff
35
run: |
0 commit comments