Skip to content

Commit 0820ac9

Browse files
MartinNikovPetarKirov
authored andcommitted
config(.github/ci): Use relative path for the install-nix job
1 parent 06c1387 commit 0820ac9

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,17 @@ jobs:
2626
test-mcl:
2727
runs-on: self-hosted
2828
steps:
29+
- name: Checkout first to use locally defined actions
30+
uses: actions/checkout@v4
31+
2932
- name: Install Nix
30-
uses: metacraft-labs/nixos-modules/.github/install-nix@main
33+
uses: ./.github/install-nix
3134
with:
3235
cachix-cache: ${{ vars.CACHIX_CACHE }}
3336
cachix-auth-token: ${{ secrets.CACHIX_AUTH_TOKEN }}
3437
trusted-public-keys: ${{ vars.TRUSTED_PUBLIC_KEYS }}
3538
substituters: ${{ vars.SUBSTITUTERS }}
3639

37-
- uses: actions/checkout@v4
38-
3940
- name: Build and test the `mcl` command
4041
run: nix develop -c sh -c "dub test --root packages/mcl -- -e 'fetchJson|(coda\.)|nix.run|nix.build'"
4142

0 commit comments

Comments
 (0)