2022-01-07 20:17:15 +00:00
|
|
|
name: update-flake-lock
|
|
|
|
on:
|
|
|
|
workflow_dispatch: # allows manual triggering
|
|
|
|
schedule:
|
2022-01-07 20:36:33 +00:00
|
|
|
- cron: '0 0 * * 1,4' # Run twice a week
|
2022-01-07 20:17:15 +00:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
lockfile:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Checkout repository
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Install Nix
|
|
|
|
uses: cachix/install-nix-action@v16
|
2022-01-08 09:48:32 +00:00
|
|
|
with:
|
|
|
|
extra_nix_config: |
|
|
|
|
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
|
2022-01-07 20:17:15 +00:00
|
|
|
- name: Update flake.lock
|
|
|
|
uses: DeterminateSystems/update-flake-lock@v3
|