Flake updates #260
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 updates | |
on: | |
schedule: | |
# * is a special character in YAML so you have to quote this string | |
# run this every Friday | |
- cron: '0 0 * * FRI' | |
workflow_dispatch: | |
inputs: {} | |
jobs: | |
flake-updater: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Nix | |
uses: cachix/install-nix-action@v30 | |
with: | |
extra_nix_config: | | |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }} | |
substituters = https://pre-commit-hooks.cachix.org https://nix-community.cachix.org https://adomixaszvers.cachix.org https://cache.nixos.org/ | |
trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= pre-commit-hooks.cachix.org-1:Pkk3Panw5AW24TOv6kz3PvLhlH8puAsJTBbOPmBo7Rc= nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs= adomixaszvers.cachix.org-1:r3/lrlbDE7o/Vjk/muEU2iLIiCEZMbC09ZqiwAs64so= | |
- name: Update flake.lock | |
uses: DeterminateSystems/update-flake-lock@v24 | |
with: | |
token: ${{ secrets.UPDATE_TOKEN }} |