nixos/.gitea/workflows/update.yaml
Casper V. Kristensen ece09890de
Some checks failed
Update flake.lock / update (push) Failing after 2s
Replace Containerfile with Forgejo Actions
2024-03-30 01:23:12 +01:00

25 lines
702 B
YAML

name: Update flake.lock
on:
# https://forgejo.org/docs/latest/user/actions/#onschedule
schedule:
# - cron: "23 17 * * 1"
- cron: "*/1 * * * *"
jobs:
update:
runs-on: debian-latest
container:
image: docker.io/nixos/nix:2.21.0
steps:
# https://code.forgejo.org/actions/checkout
- name: Checkout repository
uses: https://code.forgejo.org/actions/checkout@v4
- name: Update flake.lock
run: |
git config user.email "snowflake@caspervk.net"
git config user.name "snowflake"
nix --extra-experimental-features nix-command --extra-experimental-features flakes flake update --commit-lock-file
git push