ci: Remove nix actions cache and prepopulate job

The nix actions cache currently leads to repeated "no space left on
devices" errors for jobs in CI.

The prepopulate job is useless without the nix actions cache, so it
will go away at the same time.
This commit is contained in:
Wolfgang Walther
2024-02-24 19:52:25 +01:00
parent 3e5e8a22e4
commit 3406e62a77
3 changed files with 1 additions and 39 deletions
+1 -10
View File
@@ -7,9 +7,6 @@ inputs:
description: Token to pass to cachix
tools:
description: Tools to install with nix-env -iA <tools>
cache-id:
description: Cache id to use for cache-nix-action
default: "default"
runs:
using: composite
@@ -17,13 +14,7 @@ runs:
- uses: nixbuild/nix-quick-install-action@v26
with:
nix_version: '2.13.6'
- name: Restore and cache Nix store
uses: nix-community/cache-nix-action@v4.0.3
with:
key: cache-nix-${{ runner.os }}-id-${{ inputs.cache-id }}-${{ hashFiles('nix/**/*.nix', '.github/actions/setup-nix/*') }}
restore-keys: |
cache-nix-${{ runner.os }}-common-
- uses: cachix/cachix-action@v13
- uses: cachix/cachix-action@v14
with:
name: postgrest
authToken: ${{ inputs.authToken }}