Skip to content

Commit c3aee40

Browse files
jsoucheironclaude
andcommitted
Fix Copilot setup to use uv instead of pip
The project uses uv for dependency management, but the Copilot setup workflow was using actions/setup-python with pip caching. Since `make install-dev` runs `uv sync`, the build fails because uv is not installed. Replace with astral-sh/setup-uv to match lint-and-test.yml. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 69072d7 commit c3aee40

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/copilot-setup-steps.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,13 @@ jobs:
3030
with:
3131
persist-credentials: false
3232

33-
- name: Setup Python
34-
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
33+
- name: Install uv
34+
uses: astral-sh/setup-uv@0c5e2b8115b80b4c7c5ddf6ffdd634974642d182 # v5.4.1
3535
with:
36-
python-version: "3.9"
37-
cache: "pip"
36+
enable-cache: true
37+
38+
- name: Setup Python
39+
run: uv python install 3.9
3840

3941
- name: Install development dependencies
4042
run: make install-dev

0 commit comments

Comments
 (0)