NixOSDots/.gitea/workflows/updateFlake.yaml
Alexandre a2774bd3f8
All checks were successful
Check config / build (push) Successful in 9m45s
Added a toolcache to all action, hopefully it works
2026-06-27 15:25:40 +02:00

29 lines
616 B
YAML

name: Bump Flake
on:
workflow_dispatch:
schedule:
- cron: "0 3 1 * *" # At 3 on the first day of the month (Monday)
jobs:
bump:
runs-on: ubuntu-latest
env:
RUNNER_TOOL_CACHE: /toolcache
steps:
- name: Install nix
uses: DeterminateSystems/nix-installer-action@main
- name: Checkout
uses: actions/checkout@v4
- name: Bump Flake
run: nix flake update
- name: Build bumped flake (only one host)
run: nix build .\#nixosConfigurations.FW16.config.system.build.toplevel
- name: Check bumped flake
run: nix flake check