Run uv with --locked in CI

This commit is contained in:
Oliver Hamlet
2025-10-09 18:20:02 +01:00
parent ac2b340890
commit 68fae38aad
2 changed files with 6 additions and 5 deletions
+4 -3
View File
@@ -10,6 +10,7 @@ on:
env:
CARGO_TERM_COLOR: always
CMAKE_CONFIG: RelWithDebInfo
UV_VERSION: "0.9.0"
jobs:
rustfmt:
@@ -224,7 +225,7 @@ jobs:
sudo apt-get update
sudo apt-get install -y --no-upgrade doxygen
pipx install uv
uv sync
uv sync --locked
if: runner.os == 'Linux'
- name: Install packages for building docs (Windows)
@@ -243,12 +244,12 @@ jobs:
echo "${{ github.workspace }}\doxygen-1.13.2.windows.x64.bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
pipx install uv
uv sync
uv sync --locked
if: runner.os == 'Windows'
- name: Build docs
working-directory: docs
run: uv run -- sphinx-build -b html . build/html
run: uv run --locked -- sphinx-build -b html . build/html
- name: Package the C++ wrapper
working-directory: cpp/build
+2 -2
View File
@@ -97,11 +97,11 @@ jobs:
echo "${{ github.workspace }}\doxygen-1.13.2.windows.x64.bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
pipx install uv
uv sync
uv sync --locked
- name: Build docs
working-directory: docs
run: uv run -- sphinx-build -b html . build/html
run: uv run --locked -- sphinx-build -b html . build/html
- name: Build archive
id: build-archive