diff options
author | John MacFarlane <jgm@berkeley.edu> | 2020-09-03 09:42:28 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2020-09-03 09:42:28 -0700 |
commit | 60910d5278117020f2dc27c5904d5c64c1306481 (patch) | |
tree | 0831a2f2538e7bf04da2b4a5f2bc3dbcb49f867f | |
parent | a157e1a6e029166a090544d23501db5e68e0bbe9 (diff) | |
download | pandoc-60910d5278117020f2dc27c5904d5c64c1306481.tar.gz |
CI/macOs: Use setup-haskell to setup stack.
-rw-r--r-- | .github/workflows/ci.yml | 11 |
1 files 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 |