Update #116
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 | |
'on': | |
schedule: | |
- cron: '0 0 * * 1,5' # At 00:00 on Monday, and Friday. | |
workflow_dispatch: | |
jobs: | |
update: | |
name: Update dependencies | |
runs-on: ubuntu-22.04 | |
permissions: | |
contents: write | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: DeterminateSystems/nix-installer-action@v15 | |
- uses: DeterminateSystems/magic-nix-cache-action@v8 | |
- run: 'nix flake update' | |
- run: 'nix flake check' | |
- run: 'nix build .#default' | |
- uses: stefanzweifel/git-auto-commit-action@v5 | |
with: | |
commit_message: 'cron(flake): Update inputs' |