Skip to content

Commit

Permalink
Add cachix
Browse files Browse the repository at this point in the history
  • Loading branch information
albertodvp committed Jul 21, 2024
1 parent b9ecc38 commit cf33367
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/nix.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v27
# This checks the packages compile with the flake checks, see `flake.nix` for detials
- uses: cachix/install-nix-action@v25
with:
nix_path: nixpkgs=channel:nixos-unstable
- uses: cachix/cachix-action@v14
with:
name: sc-tools
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- 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

1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ A collection of libraries that are helpful for building Cardano apps with Haskel
* `convex-coin-selection`: Coin selection and transaction balancing
* `convex-mockchain`: Minimal mockchain for tests
* `convex-optics`: Some optics for plutus-ledger-api and cardano-api

The API documentation (Haddocks) is published [here](https://j-mueller.github.io/sc-tools/)

### Dependencies
Expand Down
1 change: 1 addition & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
in
{
devShells = flake.devShells;
packages = flake.packages;
checks = {
build-all = pkgs.runCommandCC "check all cabal.project pagackes"
{
Expand Down

0 comments on commit cf33367

Please sign in to comment.