Skip to content

Add cachix

Add cachix #6

Workflow file for this run

name: "Nix"
on:
pull_request:
push:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/cachix-action@v14
with:
name: sc-tools
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
# This checks the packages compile with the flake checks, see `flake.nix` for detials
- name: Flake check
run: nix flake check
# This checks the packages compile with cabal
- name: Cabal build into develop shell
run: nix develop && cabal build all -j