Skip to content

Commit 88060f0

Browse files
committed
Add 9.12 to Stack CI
1 parent 9abd6a6 commit 88060f0

File tree

6 files changed

+15
-14
lines changed

6 files changed

+15
-14
lines changed

.github/workflows/stack.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -78,12 +78,12 @@ jobs:
7878
strategy:
7979
matrix:
8080
os: [ubuntu-latest]
81-
ghc-ver: ['9.10', '9.8', '9.6', '9.4', '9.2.8', '9.0.2', '8.10.7', '8.8.4', '8.6.5', '8.4.4']
81+
ghc-ver: ['9.12', '9.10', '9.8', '9.6', '9.4', '9.2.8', '9.0.2', '8.10.7', '8.8.4', '8.6.5', '8.4.4']
8282
include:
8383
- os: windows-latest
84-
ghc-ver: '9.10'
84+
ghc-ver: '9.12'
8585
- os: macos-latest
86-
ghc-ver: '9.10'
86+
ghc-ver: '9.12'
8787
fail-fast: false
8888

8989
env:
@@ -153,15 +153,15 @@ jobs:
153153
# # Conditional to ensure this deployment is only run once per action.
154154
# if: >-
155155
# startsWith(github.ref, 'refs/tags/v')
156-
# && matrix.ghc-ver == '9.10'
156+
# && matrix.ghc-ver == '9.12'
157157
# run: |
158158
# DIST_TGZ=$(cabal sdist | tail -1)
159159
# echo "DIST_TGZ=${DIST_TGZ}" >> "${GITHUB_ENV}"
160160

161161
# - name: Source tarball release
162162
# if: >-
163163
# startsWith(github.ref, 'refs/tags/v')
164-
# && matrix.ghc-ver == '9.10'
164+
# && matrix.ghc-ver == '9.12'
165165
# # uses: softprops/action-gh-release@v1
166166
# # with:
167167
# # draft: true
@@ -182,7 +182,7 @@ jobs:
182182
if: >-
183183
startsWith(github.ref, 'refs/tags/v')
184184
&& runner.os == 'Linux'
185-
&& matrix.ghc-ver == '9.10'
185+
&& matrix.ghc-ver == '9.12'
186186
run: |
187187
FIXW_BIN=fix-whitespace-${FIXW_VERSION}-linux.binary
188188
cp -p "${FIXW_EXE}" "${FIXW_BIN}"
@@ -193,7 +193,7 @@ jobs:
193193
# if: >-
194194
# startsWith(github.ref, 'refs/tags/v')
195195
# && runner.os == 'Linux'
196-
# && matrix.ghc-ver == '9.10'
196+
# && matrix.ghc-ver == '9.12'
197197
# # uses: softprops/action-gh-release@v1
198198
# # with:
199199
# # draft: true
@@ -274,7 +274,7 @@ jobs:
274274
# - name: Upload binary
275275
# if: >-
276276
# startsWith(github.ref, 'refs/tags/v')
277-
# && (matrix.ghc-ver == '9.10' || runner.os != 'Linux')
277+
# && (matrix.ghc-ver == '9.12' || runner.os != 'Linux')
278278
# uses: actions/upload-release-asset@v1
279279
# env:
280280
# GITHUB_TOKEN: ${{ github.token }}
@@ -287,7 +287,7 @@ jobs:
287287
- name: Upload binary
288288
if: >-
289289
startsWith(github.ref, 'refs/tags/v')
290-
&& (matrix.ghc-ver == '9.10' || runner.os != 'Linux')
290+
&& (matrix.ghc-ver == '9.12' || runner.os != 'Linux')
291291
env:
292292
GITHUB_TOKEN: ${{ github.token }}
293293
run: |

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1+
*~
12
*.lock
23
*.log
34
*.rej
45
.ghc.environment.*
56
/.stack-work/
67
/dist-newstyle/
78
/dist/
8-
cabal.project.local
9+
cabal.project.*
910
stack*.yaml.lock
1011
stack.yaml

fix-whitespace.cabal

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ extra-doc-files:
3535
README.md
3636
fix-whitespace.yaml
3737
-- stack-supported GHCs
38+
stack-9.12.yaml
3839
stack-9.10.yaml
3940
stack-9.8.yaml
4041
stack-9.6.yaml

stack-9.10.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
1-
resolver: nightly-2025-05-09
2-
compiler: ghc-9.10.2
3-
compiler-check: match-exact
1+
resolver: lts-24.1

stack-9.12.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
resolver: nightly-2025-07-23

stack-9.8.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
resolver: lts-23.21
1+
resolver: lts-23.27

0 commit comments

Comments
 (0)