Skip to content

Commit 3c2eda2

Browse files
committed
ci: зафиксировать версию uv в GitHub Actions
- Добавлен UV_VERSION в env - setup-uv использует фиксированную версию вместо latest
1 parent f1217e9 commit 3c2eda2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ concurrency:
1212

1313
env:
1414
PYTHON_VERSION: "3.12"
15+
UV_VERSION: "0.10.4"
1516
SECRET_KEY: test-secret-key-minimum-32-bytes-value
1617
DATABASE_URL: postgresql+asyncpg://test_user:test_password@localhost:5432/test_db
1718
INTEGRATION_DATABASE_URL: postgresql+asyncpg://test_user:test_password@localhost:5432/test_db
@@ -35,6 +36,7 @@ jobs:
3536
- name: Setup uv
3637
uses: astral-sh/setup-uv@v6
3738
with:
39+
version: ${{ env.UV_VERSION }}
3840
enable-cache: true
3941

4042
- name: Install dependencies
@@ -78,6 +80,7 @@ jobs:
7880
- name: Setup uv
7981
uses: astral-sh/setup-uv@v6
8082
with:
83+
version: ${{ env.UV_VERSION }}
8184
enable-cache: true
8285

8386
- name: Install dependencies

0 commit comments

Comments
 (0)