Skip to content

.github/workflows/update.yaml #32

.github/workflows/update.yaml

.github/workflows/update.yaml #32

Workflow file for this run

on:
workflow_dispatch:
schedule:
- cron: "0 1 * * 1" # every Monday at 1am UTC
jobs:
update:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@v12
- uses: DeterminateSystems/magic-nix-cache-action@v7
- run: |
git config user.name github-actions[bot]
git config user.email github-actions[bot]@users.noreply.github.com
name: Run git config
- run: |
nix flake update \
--commit-lock-file \
--commit-lock-file-summary "chore(deps): update flake.lock"
name: Run nix flake update
- run: nix flake check
- run: git push