@@ -15,32 +15,39 @@ jobs:
1515 strategy :
1616 fail-fast : false
1717 matrix :
18- python-version : ["3.11", "3.x "]
18+ python-version : ["3.12 "]
1919
2020 name : " Type Coverage and Linting @ ${{ matrix.python-version }}"
2121 steps :
2222 - name : " Checkout Repository"
23- uses : actions/checkout@v3
23+ uses : actions/checkout@v4
2424 with :
2525 fetch-depth : 0
26+ submodules : " true"
2627
27- - name : " Setup Python @ ${{ matrix.python-version }}"
28- id : setup-python
29- uses : actions/setup-python@v4
28+ - name : Setup uv @ ${{ matrix.python-version }}
29+ uses : astral-sh/setup-uv@v6
3030 with :
31- python-version : " ${{ matrix.python-version }}"
32- cache : " pip"
31+ activate-environment : true
32+ enable-cache : true
33+ python-version : ${{ matrix.python-version }}
3334
34- - name : " Install Python deps @ ${{ matrix.python-version }}"
35- id : install-deps
35+ - name : Install deps @ ${{ matrix.python-version }}
3636 run : |
37- pip install -Ur requirements.txt
37+ uv sync --all-extras --all-groups
38+
3839 - name : " Run Pyright @ ${{ matrix.python-version }}"
39- uses : jakebailey/pyright-action@v1
40+ uses : jakebailey/pyright-action@v2
4041 with :
41- no-comments : ${{ matrix.python-version != '3.x' }}
4242 warnings : false
43+ annotate : " ${{ matrix.python-version != '3.x' }}"
44+
45+ - name : Lint check
46+ uses : astral-sh/ruff-action@v3
47+ with :
48+ args : check .
4349
44- - name : Lint with Ruff
45- if : ${{ always() && steps.install-deps.outcome == 'success' }}
46- uses : chartboost/ruff-action@v1
50+ - name : Formatting check
51+ uses : astral-sh/ruff-action@v3
52+ with :
53+ args : format --check
0 commit comments