Skip to content

Update flake.lock

Update flake.lock #18

Workflow file for this run

name: Update flake.lock
on:
schedule:
- cron: '0 1 * * 0'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
persist-credentials: false
- name: Import GPG key for signing commits
id: import-gpg
uses: crazy-max/ghaction-import-gpg@v6.1.0
with:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.GPG_PASSPHRASE }}
git_config_global: true
git_user_signingkey: true
git_commit_gpgsign: true
- name: Install nix
uses: nixbuild/nix-quick-install-action@v26
with:
load_nixConfig: false
- name: Update flake
run: nix flake update
- name: Evaluate hosts configurations
run: bash .github/scripts/eval.sh --flake .#packages.x86_64-linux
- name: Commit updated flake.lock
run: |
git commit -m "chore: update flake.lock" flake.lock
env:
GIT_AUTHOR_NAME: AtaraxiaSjel
GIT_AUTHOR_EMAIL: ${{ steps.import-gpg.outputs.email }}
GIT_COMMITTER_NAME: AtaraxiaSjel
GIT_COMMITTER_EMAIL: ${{ steps.import-gpg.outputs.email }}
- name: Push flake.lock
uses: ad-m/github-push-action@v0.8.0
with:
github_token: ${{ secrets.PAT }}
branch: ${{ github.ref }}