2022-04-07 21:36:07 +00:00
|
|
|
name: update-flake-lock
|
|
|
|
on:
|
|
|
|
workflow_dispatch: # allows manual triggering
|
|
|
|
schedule:
|
|
|
|
- cron: '0 0 * * 0' # runs weekly on Sunday at 00:00
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
lockfile:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Checkout repository
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Install Nix
|
2022-11-02 14:22:13 +00:00
|
|
|
uses: cachix/install-nix-action@v18
|
2022-04-07 21:36:07 +00:00
|
|
|
with:
|
|
|
|
extra_nix_config: |
|
|
|
|
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
|
|
|
|
- name: Update flake.lock
|
2022-11-02 14:22:37 +00:00
|
|
|
uses: DeterminateSystems/update-flake-lock@v14
|