update-flake #2
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 | |
on: | |
workflow_dispatch: # allows manual triggering | |
schedule: | |
- cron: "0 0 * * 0" # runs weekly on Sunday at 00:00 | |
jobs: | |
lockfile: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Install Nix | |
uses: DeterminateSystems/nix-installer-action@main | |
- name: Update Nix Flake | |
run: | | |
nix flake update | |
- name: Build Snow Blower Shell | |
run: | | |
nix build .#devShells.x86_64-linux.default | |
- name: Commit and push | |
run: | | |
git config user.name "GitHub Actions" | |
git config user.email "[email protected]" | |
git commit flake.lock -m "flake: bump inputs" | |
git push |