From 60910d5278117020f2dc27c5904d5c64c1306481 Mon Sep 17 00:00:00 2001 From: John MacFarlane <jgm@berkeley.edu> Date: Thu, 3 Sep 2020 09:42:28 -0700 Subject: [PATCH] CI/macOs: Use setup-haskell to setup stack. --- .github/workflows/ci.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b00b08a38..20db498da 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -143,10 +143,13 @@ jobs: steps: - uses: actions/checkout@v1 - - name: Install stack - run: | - curl -L https://get.haskellstack.org/stable/osx-x86_64.tar.gz -o stack.tar.gz - tar xzvf stack.tar.gz --strip-components=1 'stack*/stack' + + - name: Install recent cabal/ghc + uses: actions/setup-haskell@v1.1 + with: + ghc-version: '8.6.5' + enable-stack: true + stack-version: 'latest' # declare/restore cached things # caching doesn't work for scheduled runs yet https://github.com/actions/cache/issues/63