Skip to content

Commit fee9c0a

Browse files
committed
💚 Switch to setup-uv and run uv commands in CI
1 parent 5763eff commit fee9c0a

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/actions.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,14 @@ jobs:
2020
fetch-depth: 1
2121
path: ./src/github.com/${{ github.repository }}-git
2222

23-
- name: Set up Python 3.12
24-
uses: actions/setup-python@v5
23+
- name: Enable caching
24+
uses: astral-sh/setup-uv@v5
2525
with:
26-
python-version: "3.12"
27-
cache: "pip"
26+
enable-cache: true
2827

2928
- name: Install dependencies
3029
run: |
31-
python -m pip install --upgrade pip uv
30+
uv sync --all-extras --dev --frozen --no-editable --no-install-project
3231
3332
- name: Create a project based on our settings
3433
run: |
@@ -52,4 +51,4 @@ jobs:
5251
- name: Docker - Test generated starter project
5352
run: |
5453
cd test_project
55-
docker compose run --rm utility uv tool run pytest
54+
docker compose run --rm utility uv run pytest

0 commit comments

Comments
 (0)