Skip to content

Commit 09f401a

Browse files
authored
CI: Use setup-uv action in docker tests (#515)
Use setup-uv action in docker tests
1 parent 6d6ebfb commit 09f401a

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/docker-gdal.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,14 @@ jobs:
4848
4949
- uses: actions/checkout@v4
5050

51+
- name: Install uv
52+
uses: astral-sh/setup-uv@v5
53+
5154
- name: Create virtual environment
52-
# install uv and use it to create a virtual environment, then add it to
53-
# environment variables so that it is automatically activated and can be
54-
# used for tests below
55+
# use uv to create a virtual environment, then add it to environment
56+
# variables so that it is automatically activated and can be used for
57+
# tests below
5558
run: |
56-
curl -LsSf https://astral.sh/uv/install.sh | sh
57-
. $HOME/.local/bin/env
5859
uv venv .venv
5960
echo "VIRTUAL_ENV=.venv" >> $GITHUB_ENV
6061
echo "$PWD/.venv/bin" >> $GITHUB_PATH

0 commit comments

Comments
 (0)