2024-06-14 20:53:40 +00:00
|
|
|
name: "Update flake.lock"
|
|
|
|
|
2022-04-07 21:36:07 +00:00
|
|
|
on:
|
|
|
|
workflow_dispatch: # allows manual triggering
|
|
|
|
schedule:
|
|
|
|
- cron: '0 0 * * 0' # runs weekly on Sunday at 00:00
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
lockfile:
|
2024-06-14 20:53:40 +00:00
|
|
|
runs-on: nixos-unstable
|
2022-04-07 21:36:07 +00:00
|
|
|
steps:
|
|
|
|
- name: Checkout repository
|
2023-09-05 08:32:25 +00:00
|
|
|
uses: actions/checkout@v4
|
2024-06-14 20:53:40 +00:00
|
|
|
|
|
|
|
- name: Enable flakes
|
|
|
|
run: |
|
|
|
|
echo 'experimental-features = nix-command flakes' >>/etc/nix/nix.conf
|
|
|
|
|
2022-04-07 21:36:07 +00:00
|
|
|
- name: Update flake.lock
|
2024-06-07 07:58:12 +00:00
|
|
|
uses: DeterminateSystems/update-flake-lock@v22
|
2024-06-14 20:53:40 +00:00
|
|
|
if: false
|