@@ -16,26 +16,22 @@ jobs:
16
16
runs-on : ubuntu-latest
17
17
steps :
18
18
- uses : actions/checkout@v4
19
- - name : Install a specific version of uv
20
- uses : astral-sh/setup-uv@v3
19
+ - name : Install uv
20
+ uses : astral-sh/setup-uv@v5
21
21
with :
22
- version : " 0.4.4 "
22
+ version : " 0.6.11 "
23
23
enable-cache : true
24
- -
run :
uvx [email protected] check .
25
-
26
- ruff-format :
27
- runs-on : ubuntu-latest
28
- steps :
29
- - uses : actions/checkout@v4
30
- - name : Install a specific version of uv
31
- uses : astral-sh/setup-uv@v3
24
+ - name : Lint
25
+ uses : astral-sh/ruff-action@v3
32
26
with :
33
- version : " 0.4.4"
34
- enable-cache : true
35
- -
run :
uvx [email protected] format . --check
27
+ args : " check --fix"
28
+ - name : Format
29
+ uses : astral-sh/ruff-action@v3
30
+ with :
31
+ args : " format --check --diff"
36
32
37
33
test :
38
- needs : [ruff, ruff-format ]
34
+ needs : [ruff]
39
35
runs-on : ubuntu-latest
40
36
strategy :
41
37
matrix :
@@ -65,12 +61,14 @@ jobs:
65
61
- name : Start minikube's loadbalancer tunnel
66
62
run : minikube tunnel &> /dev/null &
67
63
- name : Install the latest version of uv
68
- uses : astral-sh/setup-uv@v2
64
+ uses : astral-sh/setup-uv@v5
69
65
with :
70
66
version : " latest"
71
67
enable-cache : true
72
- - name : Install Python
73
- run : uv python install $PYTHON_VERSION
68
+ - name : " Set up Python"
69
+ uses : actions/setup-python@v5
70
+ with :
71
+ python-version-file : " pyproject.toml"
74
72
- name : Install project
75
73
run : uv sync --all-extras --dev
76
74
- name : Run tests
0 commit comments