Improve update workflow
All checks were successful
Check actions / check-actions-actionlint (push) Successful in 35s
Check actions / check-actions-yamllint (push) Successful in 35s
Run nix flake check / flake-check (push) Successful in 1m58s
Periodic flake update / flake-update (push) Successful in 1m35s

This commit is contained in:
Torjus Håkestad 2024-10-04 11:05:10 +02:00
parent 27b98a8b7a
commit cee468a36a

View File

@ -14,12 +14,13 @@ jobs:
image: ghcr.io/catthehacker/ubuntu:runner-latest image: ghcr.io/catthehacker/ubuntu:runner-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
with:
ref: master
- uses: cachix/install-nix-action@v27 - uses: cachix/install-nix-action@v27
- name: configure git - name: configure git
run: | run: |
git config --global user.name 'torjus-bot' git config --global user.name 'torjus-bot'
git config --global user.email 'torjus-bot@git.t-juice.club' git config --global user.email 'torjus-bot@git.t-juice.club'
git pull
- name: flake update - name: flake update
run: nix flake update --commit-lock-file run: nix flake update --commit-lock-file
- name: push - name: push