Flake update #87
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: 'Flake update' | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '0 0 * * 0' | |
jobs: | |
flake-update: | |
runs-on: 'ubuntu-latest' | |
steps: | |
- name: 'Checkout the repository' | |
uses: 'actions/checkout@v4' | |
- name: 'Install Nix' | |
uses: 'DeterminateSystems/nix-installer-action@v16' | |
- name: 'Setup Magic Nix Cache' | |
uses: 'DeterminateSystems/magic-nix-cache-action@v9' | |
- name: 'Give GitHub Actions access to infra-secrets' | |
uses: 'webfactory/[email protected]' | |
with: | |
ssh-private-key: '${{ secrets.INFRA_SECRETS_DEPLOY_KEY }}' | |
- name: 'Update Nix Flake Lock' | |
uses: 'DeterminateSystems/update-flake-lock@v24' | |
with: | |
token: '${{ secrets.FLAKE_UPDATE_RUN_CI_TOKEN }}' |