Weekly Flake Update #58
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Weekly Flake Update | |
on: | |
schedule: | |
- cron: '0 0 * * 4' | |
workflow_dispatch: | |
permissions: | |
contents: write | |
jobs: | |
update_and_check_flake: | |
runs-on: ubuntu-latest | |
env: | |
NIXPKGS_ALLOW_UNFREE: 1 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Nix | |
uses: nixbuild/nix-quick-install-action@v28 | |
- name: Run nix flake update | |
run: | | |
nix flake update | |
- name: Run nix flake check | |
run: | | |
nix flake check --impure --verbose | |
- name: Commit and Push flake.lock | |
uses: stefanzweifel/git-auto-commit-action@v5 | |
with: | |
commit_message: "Update flake.lock" | |
file_pattern: "flake.lock" | |
- name: Repository Dispatch | |
uses: peter-evans/repository-dispatch@v3 | |
with: | |
event-type: lock-update |