Skip to content

Commit

Permalink
Add cachix
Browse files Browse the repository at this point in the history
  • Loading branch information
albertodvp committed Jul 20, 2024
1 parent b9ecc38 commit 1f5f088
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/nix.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v27
- 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 }}'

# This checks the packages compile with the flake checks, see `flake.nix` for detials
- name: Flake check
run: nix flake check
Expand Down
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 1f5f088

Please sign in to comment.