nix-configs/.forgejo/workflows/update.yml

16 lines
471 B
YAML
Raw Normal View History

2024-04-24 17:48:45 -04:00
on:
2024-04-24 17:52:30 -04:00
push:
branches: 'master'
2024-04-24 17:48:45 -04:00
schedule:
- cron: '0 2 * * *'
jobs:
lockfile:
runs-on: ubuntu-22.04
steps:
- name: checkout
uses: actions/checkout@v4
- name: Install Nix
2024-04-24 17:54:48 -04:00
uses: https://github.com/DeterminateSystems/nix-installer-action@main
2024-04-24 17:48:45 -04:00
- name: Update flake.lock
2024-04-24 18:13:09 -04:00
run: nix flake update --commit-lock-file --commit-lockfile-summary "flake.lock: Update"; git push