063362f503
Flake.lock: update Nix dependencies for development environment only / nix-flake-update (push) Failing after 4m13s
31 lines
741 B
YAML
31 lines
741 B
YAML
name: "Flake.lock: update Nix dependencies for development environment only"
|
|
|
|
on:
|
|
workflow_dispatch: # allows manual triggering
|
|
schedule:
|
|
- cron: '00 00 02 1/2 *' # runs the first of day the month every 2 months at 7:00pm local time (midnight UTC)
|
|
|
|
jobs:
|
|
nix-flake-update:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: "install nix"
|
|
uses: cachix/install-nix-action@v31
|
|
|
|
- name: "setup git user"
|
|
uses: fregante/setup-git-user@v2
|
|
|
|
- name: "update flake.lock"
|
|
run: |
|
|
nix flake update --commit-lock-file
|
|
|
|
- name: "check flake for errors"
|
|
run: |
|
|
nix flake check
|
|
|
|
- name: "push update"
|
|
run: |
|
|
git push
|