Просмотр исходного кода

👷 ci(workflow): update ci build configuration

- update runner to 'ubuntu-latest'
awwaawwa 1 год назад
Родитель
Сommit
57e5223d8b
1 измененных файлов с 5 добавлено и 6 удалено
  1. 5 6
      .github/workflows/python-build.yml

+ 5 - 6
.github/workflows/python-build.yml

@@ -6,15 +6,14 @@ on:
 
 jobs:
   build:
-    runs-on: ghcr.io/astral-sh/uv:python3.12-bookworm-slim
+    runs-on: ubuntu-latest
 
     steps:
-    - uses: actions/checkout@v4
-    - name: Set up Python
-      uses: actions/setup-python@v3
+    - name: Install the latest version of uv
+      uses: astral-sh/setup-uv@v4
       with:
-        python-version: '3.x'
-
+        version: "latest"
+    - uses: actions/checkout@v4
     - name: Install dependencies
       run: |
         uv pip install -e .[dev]