nix #386
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" | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '32 2 * * *' | |
jobs: | |
analyze: | |
name: update | |
runs-on: 'ubuntu-latest' | |
env: | |
NIX_CONFIG: "experimental-features = nix-command flakes" | |
# container: nixos/nix | |
# nix --extra-experimental-features nix-command --extra-experimental-features flakes flake check | |
permissions: | |
contents: write | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- uses: cachix/install-nix-action@v27 | |
- run: nix flake update | |
- run: nix flake check | |
- uses: stefanzweifel/git-auto-commit-action@v5 | |
with: | |
commit_message: 'chore: update flake.lock' |