Reflect pid or proc count in name #104
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Nix Build" | |
on: | |
pull_request: | |
push: | |
branches: [main] | |
jobs: | |
cabal-nix: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- uses: cachix/install-nix-action@v22 | |
with: | |
nix_path: nixpkgs=channel:nixos-unstable | |
- name: Initalize User Nix conf | |
run: | | |
mkdir -p $HOME/.config/nix | |
- name: Add haskell.nix as a substituter in the user Nix conf | |
run: | | |
echo "substituters = https://cache.nixos.org https://cache.iog.io" >> $HOME/.config/nix/nix.conf | |
- name: Add the public key for the haskell.nix substituter | |
run: | | |
echo "trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ=" >> $HOME/.config/nix/nix.conf | |
- uses: cachix/cachix-action@v10 | |
with: | |
name: adetokunbo-open | |
- name: Display the completed user Nix conf | |
run: | | |
cat $HOME/.config/nix/nix.conf | |
- name: Run the tests in a nix-shell | |
run: | | |
nix-shell --run "cabal test --test-show-details=streaming all" |