nix flake update #160
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: nix flake update | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '0 8 * * *' | |
jobs: | |
nix-flake-update: | |
if: github.repository == 'paperdev-code/nix-flake' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: cachix/install-nix-action@v27 | |
with: | |
nix_path: nixpkgs=channel:nixos-unstable | |
- run: nix flake update | |
- run: nix flake check | |
- uses: Endbug/add-and-commit@v9 | |
with: | |
add: 'flake.lock' | |
message: update flake.lock | |
committer_name: github-actions | |
committer_email: [email protected] |