Skip to content

.github/workflows/update.yaml #453

.github/workflows/update.yaml

.github/workflows/update.yaml #453

Workflow file for this run

on:
workflow_dispatch:
schedule:
- cron: "0 1 * * *" # every day at 1am UTC(!)
jobs:
update:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@v16
with:
extra-conf: |
accept-flake-config = true
- uses: nixbuild/nixbuild-action@v20
with:
nixbuild_token: ${{ secrets.NIXBUILD_TOKEN }}
- 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 \
--show-trace \
--print-build-logs \
--builders "" \
--max-jobs 2 \
--eval-store auto \
--store ssh-ng://eu.nixbuild.net
- run: git push