Files
nvim/.gitea/workflows/update-flake-lock.yml
Mykhailo Nikiforov 7364eaf671
Some checks failed
update-flake-lock / lockfile (push) Failing after 15s
Change image, update ci flow
2023-09-27 10:42:19 +03:00

28 lines
793 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
container:
image: docker.io/nixpkgs/nix:nixos-23.05
steps:
- name: Checkout repository
uses: actions/checkout@v3
- 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'