Skip to content

Commit

Permalink
Ensure flake is locked at start of CI run
Browse files Browse the repository at this point in the history
  • Loading branch information
purcell authored Jul 31, 2024
1 parent fa9062f commit 0bc557c
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 0bc557c

Please sign in to comment.