diff --git a/.forgejo/workflows/check.yaml b/.forgejo/workflows/check.yaml index b4ac182..bc1e1b9 100644 --- a/.forgejo/workflows/check.yaml +++ b/.forgejo/workflows/check.yaml @@ -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 \ No newline at end of file + - 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 \ No newline at end of file diff --git a/.forgejo/workflows/flake-update.yaml b/.forgejo/workflows/flake-update.yaml index 1cd3766..161a0e0 100644 --- a/.forgejo/workflows/flake-update.yaml +++ b/.forgejo/workflows/flake-update.yaml @@ -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"