Skip to content

Flake updates

Flake updates #212

Workflow file for this run

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@V27
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@v22
- name: Check evaluation
run: 'find -name "*.nix" -exec nix-instantiate --parse 1>/dev/null {} +'
- name: Check the flake
run: 'nix flake check'