added own cache to substituters.
All checks were successful
/ Check formatting (push) Successful in 1m24s

This commit is contained in:
Ittihadyya 2024-11-26 16:19:54 +02:00
parent 7736357201
commit 1bf6933d71
2 changed files with 10 additions and 6 deletions

View file

@ -11,4 +11,8 @@ jobs:
uses: https://git.collective-conciousness.monster/Ittihadyya/nix-actions/install@main
with:
install-url: "https://nixos.org/nix/install"
- run: nix fmt $(find ./ -regex '.*.nix$') -- --check
- name: Check file formatting
run: |
echo "extra-substituters = https://cache.collective-conciousness.monster" >> /etc/nix/nix.conf
echo "extra-trusted-public-keys = adyya-flake:PAbC0hnAiNj/kHcm9wIykmKIf25FDeXB6JusqlX2ghs=" >> /etc/nix/nix.conf
nix fmt $(find ./ -regex '.*.nix$') -- --check

View file

@ -1,9 +1,9 @@
on:
push:
branches:
- trunk
schedule:
- cron: '0 2 * * *'
#push: # currently disabled as it is not working properly with forgejo. if i do feel like it is necessary i will write an action from scratch, otherwise, i will just keep on doing it manually -e
# branches:
# - trunk
#schedule:
# - cron: '0 2 * * *'
jobs:
flake-update:
name: "Update .lock file"