1616env :
1717 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
1818
19- # As of 2025-11-05 , ubuntu-latest and windows-latest come with Stack 3.7 .1 and
20- # GHC 9.12.2 . However, macos-15-intel and macos-latest do not come with Haskell
19+ # As of 2026-01-30 , ubuntu-latest and windows-latest come with Stack 3.9 .1 and
20+ # GHC 9.14.1 . However, macos-15-intel and macos-latest do not come with Haskell
2121# tools. windows-latest no longer comes with NSIS 3.10, for which the default
2222# value of the 'Unicode' installer attribute is 'true'. However, that is not the
2323# 'large strings' build of NSIS and creates installers that corrupt the PATH
@@ -58,16 +58,16 @@ jobs:
5858 cache-bust : " 2024-11-05"
5959 steps :
6060 - name : Clone project
61- uses : actions/checkout@v4
61+ uses : actions/checkout@v6
6262 - name : Cache dependencies on Unix-like OS
6363 if : startsWith(runner.os, 'Linux') || startsWith(runner.os, 'macOS')
64- uses : actions/cache@v4
64+ uses : actions/cache@v5
6565 with :
6666 path : ~/.stack
6767 key : ${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('stack.yaml') }}-${{ matrix.cache-bust }}
6868 - name : Cache dependencies on Windows
6969 if : startsWith(runner.os, 'Windows')
70- uses : actions/cache@v4
70+ uses : actions/cache@v5
7171 with :
7272 path : |
7373 ~\AppData\Roaming\stack
@@ -97,16 +97,10 @@ jobs:
9797 run : |
9898 set -ex
9999
100- if [[ "${{ matrix.os }}" == "ubuntu-latest" ]]
101- then
102- # ubuntu-latest does not include Stack 3.9.1 as at 2026-01-06.
103- stack upgrade
104- fi
105-
106100 if [[ "${{ matrix.os }}" == "ubuntu-24.04-arm" || "${{ matrix.os }}" == "macos-15-intel" || "${{ matrix.os }}" == "macos-latest" ]]
107101 then
108102 # ubuntu-24.04-arm, macos-15-intel and macos-latest do not include
109- # Haskell tools as at 2026-01-06 .
103+ # Haskell tools as at 2026-01-30 .
110104 curl -sSL https://get.haskellstack.org/ | sh
111105 fi
112106
@@ -185,7 +179,7 @@ jobs:
185179 stack etc/scripts/release.hs build ${{ matrix.release-args }}
186180
187181 - name : Upload bindist
188- uses : actions/upload-artifact@v4
182+ uses : actions/upload-artifact@v6
189183 with :
190184 name : ${{ runner.os }}-${{ runner.arch }}
191185 path : _release/stack-*
@@ -200,27 +194,27 @@ jobs:
200194 if : startsWith(github.ref, 'refs/tags/')
201195 steps :
202196 - name : Download Linux/x86_64 artifact
203- uses : actions/download-artifact@v4
197+ uses : actions/download-artifact@v7
204198 with :
205199 name : Linux-X64
206200 path : _release
207201 - name : Download macOS/x86_64 artifact
208- uses : actions/download-artifact@v4
202+ uses : actions/download-artifact@v7
209203 with :
210204 name : macOS-X64
211205 path : _release
212206 - name : Download macOS/AArch64 artifact
213- uses : actions/download-artifact@v4
207+ uses : actions/download-artifact@v7
214208 with :
215209 name : macOS-ARM64
216210 path : _release
217211 - name : Download Windows/x86_64 artifact
218- uses : actions/download-artifact@v4
212+ uses : actions/download-artifact@v7
219213 with :
220214 name : Windows-X64
221215 path : _release
222216 - name : Download Linux/AArch64 artifact
223- uses : actions/download-artifact@v4
217+ uses : actions/download-artifact@v7
224218 with :
225219 name : Linux-ARM64
226220 path : _release
@@ -239,7 +233,7 @@ jobs:
239233 - name : Create GitHub release (final)
240234 id : github_release_final
241235 if : " !startsWith(github.ref, 'refs/tags/rc/')"
242- uses : ncipollo/release-action@v1.13 .0
236+ uses : ncipollo/release-action@v1.20 .0
243237 env :
244238 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
245239 with :
@@ -258,7 +252,7 @@ jobs:
258252 - name : Create GitHub release (release candidate)
259253 id : github_release_rc
260254 if : " startsWith(github.ref, 'refs/tags/rc/')"
261- uses : ncipollo/release-action@v1.13 .0
255+ uses : ncipollo/release-action@v1.20 .0
262256 env :
263257 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
264258 with :
0 commit comments