File tree Expand file tree Collapse file tree 1 file changed +4
-9
lines changed Expand file tree Collapse file tree 1 file changed +4
-9
lines changed Original file line number Diff line number Diff line change 5
5
push :
6
6
branches : [main]
7
7
env :
8
- CI_NIX_STORE : ~/nix
9
8
CI_NIX_FLAKE : .#default
10
9
jobs :
11
10
lint :
12
11
runs-on : ubuntu-latest
13
12
steps :
14
- - name : Setup Nix
15
- uses : cachix/install-nix-action@v26
16
13
- name : Checkout
17
14
uses : actions/checkout@v4
15
+ - name : Setup Nix
16
+ uses : DeterminateSystems/nix-installer-action@main
18
17
- name : Cache Nix
19
- uses : actions/cache@v4
20
- with :
21
- path : ${{ env.CI_NIX_STORE }}
22
- key : ${{ runner.os }}-nix-${{ hashFiles('flake.nix', 'flake.lock') }}
18
+ uses : DeterminateSystems/magic-nix-cache-action@main
23
19
- name : Lint
24
20
run : |
25
- nix --store ${{ env.CI_NIX_STORE }} \
26
- develop ${{ env.CI_NIX_FLAKE }} --command \
21
+ nix develop ${{ env.CI_NIX_FLAKE }} --command \
27
22
editorconfig-checker && echo "ok"
You can’t perform that action at this time.
0 commit comments