Skip to content

[BCI-4073] Add Solana CLI / Test validator to Nix environment #11

[BCI-4073] Add Solana CLI / Test validator to Nix environment

[BCI-4073] Add Solana CLI / Test validator to Nix environment #11

on:
pull_request:
push:
branches:
- develop
jobs:
solana-packages-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
- name: Install Nix
uses: cachix/install-nix-action@8887e596b4ee1134dae06b98d573bd674693f47c # v26
with:
nix_path: nixpkgs=channel:nixos-unstable
extra_nix_config: "sandbox = false"
- name: Build and test solana-test-validator
run: nix run .#solana-test-validator
- name: Build solana-cli-env
run: nix build .#solana-cli-env --print-out-paths
- name: Test solana-cli-shell
run: nix develop .#solana-cli