git.iko.soy/typeable/pandoc
on master help sign in
CI/macOs: Use setup-haskell to setup stack.
60910d5John MacFarlane
.github/workflows/ci.yml+7−4
@@ -143,10 +143,13 @@ jobs:
143
143
144 steps:
144 steps:
145 - uses: actions/checkout@v1
145 - uses: actions/checkout@v1
146+
146− - name: Install stack
147+ - name: Install recent cabal/ghc
147− run: |
148+ uses: actions/setup-haskell@v1.1
148− curl -L https://get.haskellstack.org/stable/osx-x86_64.tar.gz -o stack.tar.gz
149+ with:
149− tar xzvf stack.tar.gz --strip-components=1 'stack*/stack'
150+ ghc-version: '8.6.5'
151+ enable-stack: true
152+ stack-version: 'latest'
150
153
151 # declare/restore cached things
154 # declare/restore cached things
152 # caching doesn't work for scheduled runs yet https://github.com/actions/cache/issues/63
155 # caching doesn't work for scheduled runs yet https://github.com/actions/cache/issues/63