summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorAndreas Källberg <anka.213@gmail.com>2021-06-30 15:11:05 +0800
committerAndreas Källberg <anka.213@gmail.com>2021-07-25 08:23:25 +0800
commite3498d5ead8c98d6719e94e575ed9242838491cf (patch)
tree3903624d8dec9cf9c070651d366013f4d85a5f6e /.github
parent4c5927c98c4f673b23240c7cd18a1c096512669b (diff)
Update to newest haskell github action
Also fix so the stack builds use the correct ghc versions
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build-all-versions.yml9
1 files changed, 5 insertions, 4 deletions
diff --git a/.github/workflows/build-all-versions.yml b/.github/workflows/build-all-versions.yml
index f4ba6a2f1..9ab8a0622 100644
--- a/.github/workflows/build-all-versions.yml
+++ b/.github/workflows/build-all-versions.yml
@@ -33,7 +33,7 @@ jobs:
- uses: actions/checkout@v2
if: github.event.action == 'opened' || github.event.action == 'synchronize' || github.event.ref == 'refs/heads/master'
- - uses: actions/setup-haskell@v1.1.4
+ - uses: haskell/actions/setup@v1
id: setup-haskell-cabal
name: Setup Haskell
with:
@@ -73,11 +73,12 @@ jobs:
- uses: actions/checkout@v2
if: github.event.action == 'opened' || github.event.action == 'synchronize' || github.event.ref == 'refs/heads/master'
- - uses: actions/setup-haskell@v1.1.4
+ - uses: haskell/actions/setup@v1
name: Setup Haskell Stack
with:
- # ghc-version: ${{ matrix.ghc }}
- stack-version: ${{ matrix.stack }}
+ ghc-version: ${{ matrix.ghc }}
+ stack-version: 'latest'
+ enable-stack: true
- uses: actions/cache@v1
name: Cache ~/.stack