Skip to content

Update stack.yaml

Update stack.yaml #49

Workflow file for this run

name: stack-nix-linux
on: [push, pull_request]
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: free disk space
run: |
sudo swapoff -a
sudo rm -f /swapfile
sudo apt -y purge ghc* cabal-install* php* || true
sudo apt autoremove -y || true
sudo apt autoclean -y || true
df -h
- uses: cachix/install-nix-action@v30
- uses: cachix/cachix-action@v15
with:
name: hasktorch
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
- run: nix develop --command bash -c "stack build"