File tree Expand file tree Collapse file tree 2 files changed +12
-8
lines changed Expand file tree Collapse file tree 2 files changed +12
-8
lines changed Original file line number Diff line number Diff line change @@ -14,10 +14,10 @@ jobs:
14
14
uses : actions/checkout@v4
15
15
- name : Install Nix
16
16
uses : cachix/install-nix-action@v23
17
- - name : Install Cachix
18
- run : nix-env -iA cachix -f https://cachix.org/api/v1/install
19
17
- name : Setup Cachix
20
- run : cachix use devenv
18
+ uses : cachix/cachix-action@v12
19
+ with :
20
+ name : devenv
21
21
- name : Install devenv
22
22
run : nix-env -if https://install.devenv.sh/latest
23
23
- name : Run tests
Original file line number Diff line number Diff line change @@ -21,12 +21,16 @@ jobs:
21
21
- name : Checkout code
22
22
uses : actions/checkout@v4
23
23
- name : Install Nix
24
- uses : DeterminateSystems/nix-installer-action@v8
25
- - name : Install tools via Nix
26
- run : nix develop --check
24
+ uses : cachix/install-nix-action@v23
25
+ - name : Setup Cachix
26
+ uses : cachix/cachix-action@v12
27
+ with :
28
+ name : devenv
29
+ - name : Install devenv
30
+ run : nix-env -if https://install.devenv.sh/latest
27
31
- name : Install dependencies
28
- run : nix develop -c npm ci
32
+ run : devenv shell -- npm ci
29
33
- name : Run semantic-release
30
- run : nix develop -c npx semantic-release
34
+ run : devenv shell -- npx semantic-release
31
35
env :
32
36
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments