Skip to content

Commit 96bcc8e

Browse files
committed
ci(nix): replace cachix with cache-nix-action
Remove cachix-action in favour of nix-community/cache-nix-action for caching the Nix store. Also update install-nix-action to v31.9.0. This simplifies the caching setup and aligns with stackone-ai-python.
1 parent d00f6ed commit 96bcc8e

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed
Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
name: 'Setup Nix'
2-
description: 'Install Nix and configure Cachix'
2+
description: 'Install Nix and configure cache'
33
runs:
44
using: 'composite'
55
steps:
66
- name: Install Nix
7-
uses: cachix/install-nix-action@0b0e072294b088b73964f1d72dfdac0951439dbd # v31.8.4
7+
uses: cachix/install-nix-action@4e002c8ec80594ecd40e759629461e26c8abed15 # v31.9.0
88
with:
99
github_access_token: ${{ github.token }}
1010

@@ -13,12 +13,6 @@ runs:
1313
with:
1414
primary-key: nix-${{ runner.os }}
1515

16-
- name: Setup Cachix (numtide)
17-
uses: cachix/cachix-action@0fc020193b5a1fa3ac4575aa3a7d3aa6a35435ad # v16
18-
with:
19-
name: numtide
20-
authToken: ''
21-
2216
- name: Load Nix development environment
2317
shell: bash
2418
run: nix develop --command true

0 commit comments

Comments
 (0)