Skip to content

Commit f825a9b

Browse files
committed
fix: use cachix installer with cache config
1 parent 6fceca5 commit f825a9b

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/testinfra-ami-build.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,13 @@ jobs:
1717
- name: Checkout Repo
1818
uses: supabase/postgres/.github/actions/shared-checkout@HEAD
1919

20-
- uses: DeterminateSystems/nix-installer-action@main
20+
- name: Install nix
21+
uses: cachix/install-nix-action@v27
22+
with:
23+
install_url: https://releases.nixos.org/nix/nix-2.29.1/install
24+
extra_nix_config: |
25+
substituters = https://cache.nixos.org https://nix-postgres-artifacts.s3.amazonaws.com
26+
trusted-public-keys = nix-postgres-artifacts:dGZlQOvKcNEjvT7QEAJbcV6b6uk7VF/hWMjhYleiaLI=% cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
2127
2228
- name: Set PostgreSQL versions
2329
id: set-versions

0 commit comments

Comments
 (0)