ci: prevent unexpected flake.nix and flake.lock inconsistencies (#674)
Prevent some unexpected flake.nix and flock.lock revision inconsistencies by building configurations with the --no-update-lock-file option: > --no-update-lock-file > > Do not allow any updates to the flake's lock file. > > -- nix3-build(1) Link: https://github.com/danth/stylix/pull/674 Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
This commit is contained in:
parent
bc25f3d69d
commit
ccee633284
1 changed files with 1 additions and 1 deletions
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
|
|
@ -58,4 +58,4 @@ jobs:
|
|||
uses: DeterminateSystems/magic-nix-cache-action@main
|
||||
|
||||
- name: Build ${{ matrix.build.key }}
|
||||
run: nix -L build github:${{ github.repository }}/${{ github.event.pull_request.head.sha || github.sha }}#${{ matrix.build.type }}.${{ matrix.build.arch }}.${{ matrix.build.key }}
|
||||
run: nix -L build github:${{ github.repository }}/${{ github.event.pull_request.head.sha || github.sha }}#${{ matrix.build.type }}.${{ matrix.build.arch }}.${{ matrix.build.key }} --no-update-lock-file
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue