Skip to content

Commit 1027fb4

Browse files
committed
Use astral-sh/setup-uv for other builds
1 parent 06fd36f commit 1027fb4

File tree

2 files changed

+6
-22
lines changed

2 files changed

+6
-22
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@6b9c6063abd6010835644d4c2e1bef4cf5cd0fca # 6.0.1
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: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -33,22 +33,11 @@ jobs:
3333
- run: git checkout HEAD^2
3434
if: ${{ github.event_name == 'pull_request' }}
3535

36-
# Initializes the CodeQL tools for scanning.
37-
- name: Initialize CodeQL
38-
uses: github/codeql-action/init@v3
39-
# Override language selection by uncommenting this and choosing your languages
40-
with:
41-
languages: python, cpp
42-
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
36+
- name: Install the latest version of uv
37+
uses: astral-sh/setup-uv@6b9c6063abd6010835644d4c2e1bef4cf5cd0fca # 6.0.1
4938

50-
- name: Install dependencies
51-
run: python -m pip install uv
39+
- name: Install the latest version of uv
40+
uses: astral-sh/setup-uv@v6
5241

5342
- run: uv build
5443
env:

0 commit comments

Comments
 (0)