Skip to content

Commit e2601eb

Browse files
committed
chore: modify GitHub Actions build workflow to use uv run for build and clean steps
1 parent 9616e0c commit e2601eb

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,6 @@ jobs:
4141
uses: astral-sh/setup-uv@v5
4242
with:
4343
version: 0.7.8
44-
45-
- name: Install ruff
46-
run: pip install ruff
4744

4845
- name: Install AWS SAM CLI
4946
uses: aws-actions/setup-sam@v2
@@ -62,7 +59,9 @@ jobs:
6259
working-directory: ./${{ matrix.service }}
6360

6461
- name: Build ${{ matrix.display_name }}
65-
run: make build
62+
run: |
63+
# Use uv run to ensure all commands run in the virtual environment
64+
uv run make build
6665
working-directory: ./${{ matrix.service }}
6766
env:
6867
DOCKER_OPTS: --use-container
@@ -75,6 +74,6 @@ jobs:
7574
retention-days: 7
7675

7776
- name: Clean up ${{ matrix.display_name }}
78-
run: make clean
77+
run: uv run make clean
7978
working-directory: ./${{ matrix.service }}
8079
if: always()

0 commit comments

Comments
 (0)