Skip to content

Commit

Permalink
nix-install action
Browse files Browse the repository at this point in the history
  • Loading branch information
manuel-sky committed Jan 15, 2025
1 parent c8512f5 commit a3942cb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/test-contracts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v27
- run: nix-build
working-directory: ./contracts
- uses: actions/setup-node@v4
- name: Setup and run tests
working-directory: ./contracts/off-chain
Expand Down
4 changes: 0 additions & 4 deletions contracts/off-chain/test-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@ set -eux
sudo apt-get install jq
npm install

# Install Haskell stuff if it's not already installed
sh <(curl -L https://nixos.org/nix/install) --daemon
nix develop .

cabal update
# No idea why this is needed
cabal v2-update 'cardano-haskell-packages,2024-11-27T20:49:28Z'
Expand Down

0 comments on commit a3942cb

Please sign in to comment.