test gitea workflow
Some checks failed
Update flake.lock / build (push) Failing after 14s

This commit is contained in:
Dmitriy Kholkin 2024-01-13 02:40:42 +03:00
parent c7f79f81f4
commit 3152c32cc3
Signed by: AtaraxiaDev
GPG Key ID: FD266B810DF48DF2

View File

@ -0,0 +1,45 @@
name: "Update flake.lock"
on:
push:
schedule:
- cron: '0 6 * * 0'
workflow_dispatch:
jobs:
build:
runs-on: debian-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ gitea.head_ref }}
# token: ${{ secrets.PAT }}
# - name: Import GPG key
# uses: crazy-max/ghaction-import-gpg@v6
# with:
# gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
# passphrase: ${{ secrets.GPG_PASSPHRASE }}
# trust_level: 5
# 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: nix develop .#ci --command ./ci.sh --flake .#nixosHostsCI
# - name: Commit updated flake.lock
# uses: stefanzweifel/git-auto-commit-action@v5
# with:
# commit_message: "[workflow] Update flake.lock"
# commit_options: '-S'
# file_pattern: './flake.lock'