Skip to content

Commit 54a188a

Browse files
authored
Update tools used in GitHub Actions (#1250)
1 parent 6ce639a commit 54a188a

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
git config --global core.eol lf
2626
git config --global core.longpaths true
2727
28-
- uses: actions/checkout@v2
28+
- uses: actions/checkout@v4
2929

3030
# NB: We install gnu-tar because BSD tar is buggy on Github's macos machines,
3131
# and it breaks the cache: https://github.com/actions/cache/issues/403
@@ -36,12 +36,12 @@ jobs:
3636
echo "/usr/local/opt/gnu-tar/libexec/gnubin" >> $GITHUB_PATH
3737
3838
- name: Setup node and npm
39-
uses: actions/setup-node@v2
39+
uses: actions/setup-node@v4
4040
with:
41-
node-version: 18
41+
node-version: 22
4242

4343
- name: Cache NPM dependencies
44-
uses: actions/cache@v2
44+
uses: actions/cache@v4
4545
env:
4646
cache-name: cache-node-modules
4747
with:
@@ -53,10 +53,10 @@ jobs:
5353
${{ runner.os }}-
5454
5555
- name: Install global NPM packages
56-
run: npm i --global [email protected].10 spago@next purs-tidy@latest esbuild@latest
56+
run: npm i --global [email protected].15 spago@next purs-tidy@latest esbuild@latest
5757

5858
- name: Cache PureScript dependencies
59-
uses: actions/cache@v2
59+
uses: actions/cache@v4
6060
with:
6161
key: ${{ runner.os }}-spago-${{ hashFiles('**/spago.yaml') }}
6262
path: |

.github/workflows/release.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
matrix:
3939
include:
4040
- os: ubuntu-latest
41-
image: haskell:9.2.4
41+
image: haskell:9.2.8
4242
- os: macOS-latest
4343
- os: windows-latest
4444
steps:
@@ -47,10 +47,10 @@ jobs:
4747
git config --global core.autocrlf false
4848
git config --global core.eol lf
4949
git config --global core.longpaths true
50-
- uses: actions/checkout@v2
50+
- uses: actions/checkout@v4
5151
- name: Setup Haskell (macOS and Windows)
5252
if: runner.os != 'Linux'
53-
uses: haskell/actions/setup@v1
53+
uses: haskell-actions/setup@v2
5454
with:
5555
stack-version: ${{ env.STACK_VERSION }}
5656
enable-stack: true
@@ -61,9 +61,9 @@ jobs:
6161
[ "$(stack --numeric-version)" = "$STACK_VERSION" ]
6262
chown root:root .
6363
- name: Setup node
64-
uses: actions/setup-node@v1
64+
uses: actions/setup-node@v4
6565
with:
66-
node-version: 18
66+
node-version: 22
6767
# NB: We install gnu-tar because BSD tar is buggy on Github's macos machines,
6868
# and it breaks the cache: https://github.com/actions/cache/issues/403
6969
- name: Install GNU tar (macOS)
@@ -124,10 +124,10 @@ jobs:
124124
needs: build_release
125125
runs-on: ubuntu-latest
126126
steps:
127-
- uses: actions/checkout@v2
128-
- uses: actions/setup-node@v2
127+
- uses: actions/checkout@v4
128+
- uses: actions/setup-node@v4
129129
with:
130-
node-version: 18
130+
node-version: 22
131131
- name: Publish to NPM
132132
shell: bash
133133
env:

0 commit comments

Comments
 (0)