Skip to content

Commit

Permalink
Bump stack CI to GHC 9.8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasabel committed Nov 3, 2023
1 parent a944b21 commit e0a0fd6
Show file tree
Hide file tree
Showing 7 changed files with 29 additions and 12 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/stack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ jobs:
fail-fast: false
matrix:
# Note: check release logic below when changing the matrix!
ghc: [9.6.3, 9.4.7, 9.2.8, 9.0.2, 8.10.7, 8.8.4, 8.6.5, 8.4.4, 8.2.2]
ghc: [9.8.1, 9.6.3, 9.4.7, 9.2.8, 9.0.2, 8.10.7, 8.8.4, 8.6.5, 8.4.4, 8.2.2]
os: [ubuntu-latest]
include:
- os: macOS-latest
ghc: 9.6.3
ghc: 9.8.1
- os: windows-latest
ghc: 9.6.3
ghc: 9.8.1


# Needed for Windows to make piping (... >> ...) and evaluation ( $(...) ) work.
Expand All @@ -41,7 +41,7 @@ jobs:
- uses: actions/checkout@v4

- name: Setup Haskell
uses: haskell/actions/setup@v2
uses: haskell-actions/setup@v2
id: haskell-setup # <-- self-chosen identifier
with:
ghc-version: ${{ matrix.ghc }}
Expand Down Expand Up @@ -120,15 +120,15 @@ jobs:
# Conditional to ensure this deployment is only run once per action.
if: >-
startsWith(github.ref, 'refs/tags/v')
&& matrix.ghc == '9.6.3'
&& matrix.ghc == '9.8.1'
run: |
DIST_TGZ=$(cabal sdist source | tail -1)
echo "DIST_TGZ=${DIST_TGZ}" >> "${GITHUB_ENV}"
- name: Source tarball release.
if: >-
startsWith(github.ref, 'refs/tags/v')
&& matrix.ghc == '9.6.3'
&& matrix.ghc == '9.8.1'
uses: softprops/action-gh-release@v1
with:
draft: true
Expand All @@ -140,7 +140,7 @@ jobs:
if: >-
startsWith(github.ref, 'refs/tags/v')
&& runner.os == 'Linux'
&& matrix.ghc == '9.6.3'
&& matrix.ghc == '9.8.1'
run: |
BNFC_BIN=bnfc-${BNFC_VERSION}-linux.binary
cp -p "${BNFC_EXE}" "${BNFC_BIN}"
Expand All @@ -151,7 +151,7 @@ jobs:
if: >-
startsWith(github.ref, 'refs/tags/v')
&& runner.os == 'Linux'
&& matrix.ghc == '9.6.3'
&& matrix.ghc == '9.8.1'
uses: softprops/action-gh-release@v1
with:
draft: true
Expand Down
2 changes: 1 addition & 1 deletion source/stack-9.4.7.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
resolver: lts-21.15
resolver: lts-21.17
compiler: ghc-9.4.7
compiler-check: match-exact
2 changes: 1 addition & 1 deletion source/stack-9.6.3.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
resolver: nightly-2023-10-09
resolver: nightly-2023-10-26
compiler: ghc-9.6.3
compiler-check: match-exact
6 changes: 6 additions & 0 deletions source/stack-9.8.1.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
resolver: nightly-2023-10-26
compiler: ghc-9.8.1
compiler-check: match-exact

packages:
- .
2 changes: 1 addition & 1 deletion stack-9.4.7.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
resolver: lts-21.15
resolver: lts-21.17
compiler: ghc-9.4.7
compiler-check: match-exact

Expand Down
2 changes: 1 addition & 1 deletion stack-9.6.3.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
resolver: nightly-2023-10-09
resolver: nightly-2023-10-26
compiler: ghc-9.6.3
compiler-check: match-exact

Expand Down
11 changes: 11 additions & 0 deletions stack-9.8.1.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
resolver: nightly-2023-10-26
compiler: ghc-9.8.1
compiler-check: match-exact

packages:
- source
- testing

extra-deps:
- aeson-2.2.1.0
- th-abstraction-0.6.0.0

0 comments on commit e0a0fd6

Please sign in to comment.