ci: update cache-nix-action to use newly fixed cache and remove old git config
All checks were successful
ci / treefmt (push) Successful in 1m23s

This commit is contained in:
Ceferino Patino 2026-06-17 00:25:57 -05:00
commit c9e872075a
Signed by: c4patino
SSH key fingerprint: SHA256:Wu+cU1t+7zVT9wzew/4meNmeulo66NzMqc22MdDBgXI

View file

@ -20,15 +20,14 @@ jobs:
nix-channel --add https://nixos.org/channels/nixos-unstable nixpkgs nix-channel --add https://nixos.org/channels/nixos-unstable nixpkgs
nix-channel --update nix-channel --update
- name: restore and save nix store - name: restore and save nix store
uses: https://github.com/nix-community/cache-nix-action@v6.1.3 uses: https://github.com/nix-community/cache-nix-action@v7
with: with:
primary-key: nix-${{ runner.os }}-${{ hashFiles('**/*.nix', '**/flake.lock') }} primary-key: nix-${{ runner.os }}-${{ hashFiles('**/*.nix', '**/flake.lock') }}
restore-prefixes-first-match: nix-${{ runner.os }}- restore-prefixes-first-match: nix-${{ runner.os }}-
gc-max-store-size-linux: 1G gc-max-store-size-linux: 1G
purge: true purge: true
purge-last-accessed: "P1W"
purge-prefixes: nix-${{ runner.os }}- purge-prefixes: nix-${{ runner.os }}-
purge-created: 0
purge-last-accessed: 0
purge-primary-key: never purge-primary-key: never
- name: set up nix-community cachix - name: set up nix-community cachix
uses: https://github.com/cachix/cachix-action@v16 uses: https://github.com/cachix/cachix-action@v16
@ -50,11 +49,6 @@ jobs:
KEYID=$(gpg --list-secret-keys --with-colons | awk -F: '/^sec/{print $5;exit}') KEYID=$(gpg --list-secret-keys --with-colons | awk -F: '/^sec/{print $5;exit}')
git config --global user.signingkey "$KEYID" git config --global user.signingkey "$KEYID"
git config --global commit.gpgsign true git config --global commit.gpgsign true
- name: configure git for slow server
run: |
git config --global http.version HTTP/1.1
git config --global http.lowSpeedLimit 100
git config --global http.lowSpeedTime 600
- name: run nix fmt - name: run nix fmt
run: nix fmt run: nix fmt
- name: check for changes - name: check for changes