aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2025-07-18 16:02:57 +0200
committerGitHub <noreply@github.com>2025-07-18 14:02:57 +0000
commit3531e9dbfd3af9f0ff69794a7dd609c8a8c23b33 (patch)
treec5d3c184a4de537bef6942387fe56a3e1315101c
parentc4f5b2b53192ddf7f7585153a3f95ea8fd0f4861 (diff)
downloadgitea-3531e9dbfd3af9f0ff69794a7dd609c8a8c23b33.tar.gz
gitea-3531e9dbfd3af9f0ff69794a7dd609c8a8c23b33.zip
Replace `setup-python` with `setup-uv` (#35116)
-rw-r--r--.github/workflows/pull-compliance.yml12
1 files changed, 4 insertions, 8 deletions
diff --git a/.github/workflows/pull-compliance.yml b/.github/workflows/pull-compliance.yml
index 94d2d15406..56685ffb46 100644
--- a/.github/workflows/pull-compliance.yml
+++ b/.github/workflows/pull-compliance.yml
@@ -32,15 +32,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- - uses: actions/setup-python@v5
- with:
- python-version: "3.12"
+ - uses: astral-sh/setup-uv@v6
+ - run: uv python install 3.12
- uses: actions/setup-node@v4
with:
node-version: 24
cache: npm
cache-dependency-path: package-lock.json
- - run: pip install uv
- run: make deps-py
- run: make deps-frontend
- run: make lint-templates
@@ -51,10 +49,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- - uses: actions/setup-python@v5
- with:
- python-version: "3.12"
- - run: pip install uv
+ - uses: astral-sh/setup-uv@v6
+ - run: uv python install 3.12
- run: make deps-py
- run: make lint-yaml