Skip to content

Lock Updater

Lock Updater #30228

Workflow file for this run

name: "Lock Updater"
on:
workflow_dispatch:
schedule:
- cron: '0 * * * *'
jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Install nix
uses: cachix/install-nix-action@v14
with:
install_url: https://github.com/numtide/nix-unstable-installer/releases/latest/download/install
extra_nix_config: |
experimental-features = nix-command flakes
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
system-features = nixos-test benchmark big-parallel kvm
- name: Set up git
run: |
git config user.name github-actions
git config user.email [email protected]
- name: Update lock file
run: nix flake update --commit-lock-file
- name: Push changes
run: git push