Skip to content

Commit 506dd42

Browse files
committed
Update GitHub Actions workflow to use actions/setup-python and enhance installation command
1 parent 0250a72 commit 506dd42

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,14 @@ jobs:
2323

2424
- name: Install uv
2525
uses: astral-sh/setup-uv@v3
26-
with:
27-
enable-cache: true
28-
cache-dependency-glob: uv.lock
2926

3027
- name: Set up Python ${{ matrix.python-version }}
31-
run: uv python install ${{ matrix.python-version }}
28+
uses: actions/setup-python@v5
29+
with:
30+
python-version: ${{ matrix.python-version }}
3231

33-
- name: Install dependencies
34-
run: uv sync --all-extras
32+
- name: Install the project
33+
run: uv sync --all-extras --dev
3534

3635
- name: Run pre-commit
3736
run: uv run pre-commit run --all-files

0 commit comments

Comments
 (0)