Skip to content

Commit

Permalink
Merge pull request #293 from purcell/auto-relock-flake
Browse files Browse the repository at this point in the history
Ensure flake is locked at start of CI run
  • Loading branch information
purcell authored Aug 1, 2024
2 parents fa9062f + 0bc557c commit 8d78c92
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,19 @@ on:
- master

jobs:
relock:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@V27
- run: nix flake lock
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Update flake.lock
file_pattern: flake.lock

nix-matrix:
needs: relock
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
Expand Down

0 comments on commit 8d78c92

Please sign in to comment.