Skip to content

Commit

Permalink
Merge pull request #13 from haskell-github-trust/update-flake-lock
Browse files Browse the repository at this point in the history
Update flake.lock each month
  • Loading branch information
spencerjanssen authored Jun 12, 2024
2 parents c9596ff + a5cbca9 commit 78256dd
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/nix-integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ name: nix-integration-test
on:
pull_request:
push:
branches: [master]
branches:
- master
- update_flake_lock_action

jobs:
lints:
Expand Down
16 changes: 16 additions & 0 deletions .github/workflows/update-flake-lock.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: update-flake-lock
on:
workflow_dispatch:
schedule:
- cron: '0 17 1 * *'

jobs:
lockfile:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
ssh-key: ${{ secrets.UPDATE_FLAKE_LOCK_SSH_KEY }}
- uses: DeterminateSystems/nix-installer-action@7993355175c2765e5733dae74f3e0786fe0e5c4f # v12
- name: Update flake.lock
uses: DeterminateSystems/update-flake-lock@bba6a453b747fa3bd82895a4a296c3d0e3cfabd4 # v22

0 comments on commit 78256dd

Please sign in to comment.