Fix ghc-7.10.3 build in gh-actions

ghc-7.10.3 is not supported in the latest builder, so we
need an older version of ubuntu for it to work
This commit is contained in:
Andreas Källberg
2023-09-11 13:03:05 +02:00
parent 003ab57576
commit 88db715c3d

View File

@@ -62,7 +62,7 @@ jobs:
stack: stack:
name: stack / ghc ${{ matrix.ghc }} name: stack / ghc ${{ matrix.ghc }}
runs-on: ubuntu-latest runs-on: ${{ matrix.ghc == '7.10.3' && 'ubuntu-2004' || 'ubuntu-latest' }}
strategy: strategy:
matrix: matrix:
stack: ["latest"] stack: ["latest"]