Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CI] add nix check to CI #13884

Merged
merged 18 commits into from
Sep 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Sventimir marked this conversation as resolved.
Show resolved Hide resolved
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