Skip to content

Nix Flake Update

Nix Flake Update #31

Workflow file for this run

name: Nix Flake Update
on:
workflow_dispatch:
schedule:
# Runs at 00:00 UTC on every Saturday
- cron: "0 0 * * 6"
jobs:
lockfile:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
- name: Get current date
id: date
run: echo "DATE=$(date +'%d-%m-%Y')" >> $GITHUB_ENV
- name: Update flake.lock
uses: DeterminateSystems/update-flake-lock@main
with:
base: "main"
branch: "feat/update-flake-${{ env.DATE }}"
commit-msg: "feat(flake)!: update"
pr-title: "Update flake ${{ env.DATE }}"