Skip to content

Commit 089b494

Browse files
authored
chore(ci): Check pixi lock (#3533)
Unlike `uv sync --frozen`, `pixi install --frozen` does not seem to check whether the lock file is out-of-sync with `pyproject.toml`. This adds a small job to the Docker build workflow to run `pixi lock --check`. It should fail, and then I'll run `pixi.lock`.
2 parents 59bf839 + 6d803dc commit 089b494

File tree

2 files changed

+73
-56
lines changed

2 files changed

+73
-56
lines changed

.github/workflows/docker.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,22 @@ env:
1818
FORCE_COLOR: true
1919

2020
jobs:
21+
check-pixi:
22+
runs-on: ubuntu-latest
23+
permissions:
24+
contents: read
25+
steps:
26+
- name: Checkout repository
27+
uses: actions/checkout@v5
28+
with:
29+
fetch-depth: 200
30+
fetch-tags: true
31+
- uses: prefix-dev/[email protected]
32+
with:
33+
pixi-version: v0.55.0
34+
run-install: false
35+
- run: pixi lock --check
36+
2137
build-container:
2238
runs-on: ubuntu-latest
2339
permissions:

0 commit comments

Comments
 (0)