Skip to content

Update nix flake dependencies #3

Update nix flake dependencies

Update nix flake dependencies #3

name: "Update nix flake dependencies"
permissions:
contents: write
id-token: write
issues: write
pull-requests: write
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * 0' # once every week
jobs:
nix-flake-update:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install nix
uses: nixbuild/nix-quick-install-action@v33
- name: Restore and cache Nix store
uses: nix-community/cache-nix-action@v6
id: nix-cache
with:
primary-key: nix-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('**/*.nix', '**/flake.lock') }}
restore-prefixes-first-match: nix-${{ runner.os }}-${{ runner.arch }}-
gc-max-store-size-linux: 5368709000
purge: true
purge-prefixes: nix-${{ runner.os }}-${{ runner.arch }}-
purge-created: 0
purge-primary-key: never
- uses: DeterminateSystems/update-flake-lock@v27
with:
git-committer-name: "github-actions[bot]"
git-committer-email: "41898282+github-actions[bot]@users.noreply.github.com"
pr-title: "build(nix): update input dep versions"
pr-labels: |
automated
dependencies