File tree Expand file tree Collapse file tree 1 file changed +9
-24
lines changed Expand file tree Collapse file tree 1 file changed +9
-24
lines changed Original file line number Diff line number Diff line change 4
4
workflow_call :
5
5
6
6
jobs :
7
- format :
7
+ pre-commit :
8
8
runs-on : ubuntu-latest
9
9
steps :
10
10
- uses : actions/checkout@v4
11
11
12
- - name : Install uv
13
- uses : astral-sh/setup-uv@v3
12
+ - uses : astral-sh/setup-uv@v5
14
13
with :
15
14
enable-cache : true
16
15
version : 0.7.2
17
16
18
- - name : Install the project
19
- run : uv sync --frozen --all-extras --dev --python 3.12
20
-
21
- - name : Run ruff format check
22
- run : uv run --no-sync ruff check .
23
-
24
- typecheck :
25
- runs-on : ubuntu-latest
26
- steps :
27
- - uses : actions/checkout@v4
17
+ - name : Install dependencies
18
+ run : uv sync --frozen --all-extras --python 3.10
28
19
29
- - name : Install uv
30
- uses : astral-sh/setup-uv@v3
20
+ -
uses :
pre-commit/[email protected]
31
21
with :
32
- enable-cache : true
33
- version : 0.7.2
34
-
35
- - name : Install the project
36
- run : uv sync --frozen --all-extras --dev --python 3.12
37
-
38
- - name : Run pyright
39
- run : uv run --no-sync pyright
22
+ extra_args : --all-files --verbose
23
+ env :
24
+ SKIP : no-commit-to-branch
40
25
41
26
test :
42
27
runs-on : ${{ matrix.os }}
55
40
version : 0.7.2
56
41
57
42
- name : Install the project
58
- run : uv sync --frozen --all-extras --dev -- python ${{ matrix.python-version }}
43
+ run : uv sync --frozen --all-extras --python ${{ matrix.python-version }}
59
44
60
45
- name : Run pytest
61
46
run : uv run --no-sync pytest
You can’t perform that action at this time.
0 commit comments