Skip to content

Commit

Permalink
Merge pull request #13884 from MinaProtocol/dkijania/add_nix_to_ci
Browse files Browse the repository at this point in the history
[CI] add nix check to CI
  • Loading branch information
deepthiskumar authored Sep 20, 2023
2 parents b7a81cf + 6b66fc1 commit c7d65e0
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/nix.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: "Build nix"
on:
pull_request:
push:
branches:
- develop
- compatible
- berkeley
- releases/**
- main
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: cachix/install-nix-action@v20
- uses: DeterminateSystems/magic-nix-cache-action@v2
- run: nix/pin.sh
- run: nix build mina
env:
GIT_LFS_SKIP_SMUDGE: 1
- run: nix develop mina
1 change: 1 addition & 0 deletions nix/modules/mina.nix
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ inputs:
};
libp2p-keypair = lib.mkOption {
type = path;
default = "/root/libp2p-keys/key";
};

waitForRpc = lib.mkOption {
Expand Down

0 comments on commit c7d65e0

Please sign in to comment.