@@ -16,26 +16,22 @@ jobs:
1616 runs-on : ubuntu-latest
1717 steps :
1818 - 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
2121 with :
22- version : " 0.4.4 "
22+ version : " 0.6.11 "
2323 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
3226 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"
3632
3733 test :
38- needs : [ruff, ruff-format ]
34+ needs : [ruff]
3935 runs-on : ubuntu-latest
4036 strategy :
4137 matrix :
@@ -65,12 +61,14 @@ jobs:
6561 - name : Start minikube's loadbalancer tunnel
6662 run : minikube tunnel &> /dev/null &
6763 - name : Install the latest version of uv
68- uses : astral-sh/setup-uv@v2
64+ uses : astral-sh/setup-uv@v5
6965 with :
7066 version : " latest"
7167 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"
7472 - name : Install project
7573 run : uv sync --all-extras --dev
7674 - name : Run tests
0 commit comments