Some checks failed
update-flake-lock / lockfile (push) Failing after 16s
30 lines
908 B
YAML
30 lines
908 B
YAML
name: update-flake-lock
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
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: Setup sudo (required for the next step)
|
|
run: apt-get update && apt-get install -y sudo
|
|
- name: Setup nix
|
|
uses: cachix/install-nix-action@v22
|
|
- name: Update nix flake lockfile
|
|
run: |
|
|
git status
|
|
nix --extra-experimental-features nix-command --extra-experimental-features flakes flake update
|
|
git status
|
|
git diff
|
|
git config --global user.name "Gitea Bot"
|
|
git config --global user.config "gitea@xaked.com"
|
|
git add flake.lock
|
|
git commit -m '[Gitea CI]: bump flake.lock versions'
|