Skip to content

Commit 94437d4

Browse files
committed
Use astral-sh/setup-uv for other builds
1 parent cb1a6ca commit 94437d4

File tree

2 files changed

+4
-16
lines changed

2 files changed

+4
-16
lines changed

.github/workflows/clang-analyzer.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,8 @@ jobs:
2222
- name: Install clang-tools
2323
run: sudo apt install clang-tools
2424

25-
- name: Set up Python
26-
uses: actions/setup-python@v5
27-
with:
28-
python-version: 3.13
29-
30-
- name: Install dependencies
31-
run: python -m pip install uv
25+
- name: Install the latest version of uv
26+
uses: astral-sh/setup-uv@v6
3227

3328
- name: Build and run analyzer
3429
# We exclude extension/libmaxminddb/ as libmaxminddb has its own workflow

.github/workflows/codeql-analysis.yml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,8 @@ jobs:
4040
with:
4141
languages: python, cpp
4242

43-
# ℹ️ Command-line programs to run using the OS shell.
44-
# 📚 https://git.io/JvXDl
45-
46-
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
47-
# and modify them (or add more) to build your code if your project
48-
# uses a compiled language
49-
50-
- name: Install dependencies
51-
run: python -m pip install uv
43+
- name: Install the latest version of uv
44+
uses: astral-sh/setup-uv@v6
5245

5346
- run: uv build
5447
env:

0 commit comments

Comments
 (0)