Update flake inputs #39
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: Update flake inputs | |
on: | |
schedule: | |
- cron: "0 12 ? * TUE" | |
workflow_dispatch: | |
permissions: | |
contents: write | |
jobs: | |
update-inputs: | |
name: Update inputs | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: cachix/install-nix-action@master | |
- name: Configure git | |
run: | | |
git config user.name "github-actions[bot]" | |
git config user.email "41898282+github-actions[bot]@users.noreply.github.com" | |
- run: nix flake update --commit-lock-file | |
- run: nix flake check --all-systems | |
- run: | | |
cd templates/zig-bin | |
nix flake update --override-input flakelight-zig ../.. | |
nix develop -c zig init | |
git add . | |
nix flake check --all-systems | |
- run: git push |