From bcc2fe6eece0440dfd8d4326605643b662404079 Mon Sep 17 00:00:00 2001 From: AgentM Date: Sun, 26 May 2024 23:40:22 -0400 Subject: [PATCH] fiddle with stack location --- .github/workflows/ci.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 12135804..25b920d1 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -56,14 +56,14 @@ jobs: run: rm -rf ~/.stack/setup-exe-cache # - name: HLint # run: curl -sSL https://raw.github.com/ndmitchell/hlint/master/misc/run.sh | sh -s . - - name: Setup Stack - run: curl -sSL https://get.haskellstack.org/ | sh +# - name: Setup Stack +# run: curl -sSL https://get.haskellstack.org/ | sh - name: Build - run: stack build --ghc-options -O2 --local-bin-path out --copy-bins + run: /usr/local/bin/stack build --ghc-options -O2 --local-bin-path out --copy-bins - name: Test - run: stack test --stack-yaml=${{ env.STACK_YAML }} + run: /usr/local/bin/stack test --stack-yaml=${{ env.STACK_YAML }} - name: Haddock - run: stack --no-install-ghc --system-ghc --no-haddock-deps haddock + run: /usr/local/bin/stack --no-install-ghc --system-ghc --no-haddock-deps haddock - uses: actions/upload-artifact@v3 with: name: project-m36-${{ matrix.os }}-${{ matrix.ghc }}