Skip to content

Commit

Permalink
ci: prevent unexpected flake.nix and flake.lock inconsistencies (#674)
Browse files Browse the repository at this point in the history
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: #674

Reviewed-by: NAHO <[email protected]>
  • Loading branch information
danth authored Dec 12, 2024
1 parent bc25f3d commit ccee633
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit ccee633

Please sign in to comment.