Skip to content

Commit 1723762

Browse files
committed
workflow: Update GitHub Actions to use latest versions of actions and GHC
1 parent 8fb39de commit 1723762

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/bench.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -52,16 +52,16 @@ jobs:
5252
# see discussion https://github.com/haskell/haskell-language-server/pull/4118
5353
# also possible to add more GHCs if we performs better in the future.
5454
ghc:
55-
- '9.6'
5655
- '9.8'
56+
- '9.10'
5757
os:
5858
- ubuntu-latest
5959

6060
# This code is fitted to the strategy: assumes Linux is used ... etc,
6161
# change of the strategy may require changing the bootstrapping/run code
6262

6363
steps:
64-
- uses: actions/checkout@v3
64+
- uses: actions/checkout@v4
6565
with:
6666

6767
# By default, the `pull_request` event has a `GITHUB_SHA` env variable
@@ -100,14 +100,14 @@ jobs:
100100
tar -czf cabal.tar.gz *
101101
102102
- name: Upload workspace
103-
uses: actions/upload-artifact@v3
103+
uses: actions/upload-artifact@v4
104104
with:
105105
name: workspace-${{ matrix.ghc }}-${{ matrix.os }}
106106
retention-days: 1
107107
path: workspace.tar.gz
108108

109109
- name: Upload .cabal
110-
uses: actions/upload-artifact@v3
110+
uses: actions/upload-artifact@v4
111111
with:
112112
name: cabal-home-${{ matrix.ghc }}-${{ matrix.os }}
113113
retention-days: 1
@@ -134,13 +134,13 @@ jobs:
134134
enable-stack: false
135135

136136
- name: Download cabal home
137-
uses: actions/download-artifact@v3
137+
uses: actions/download-artifact@v4
138138
with:
139139
name: cabal-home-${{ matrix.ghc }}-${{ matrix.os }}
140140
path: .
141141

142142
- name: Download workspace
143-
uses: actions/download-artifact@v3
143+
uses: actions/download-artifact@v4
144144
with:
145145
name: workspace-${{ matrix.ghc }}-${{ matrix.os }}
146146
path: .
@@ -165,7 +165,7 @@ jobs:
165165
run: find bench-results -name "*.csv" -or -name "*.svg" -or -name "*.html" | xargs tar -czf benchmark-artifacts.tar.gz
166166

167167
- name: Archive benchmarking artifacts
168-
uses: actions/upload-artifact@v3
168+
uses: actions/upload-artifact@v4
169169
with:
170170
name: bench-results-${{ matrix.example }}-${{ runner.os }}-${{ matrix.ghc }}
171171
path: benchmark-artifacts.tar.gz
@@ -175,7 +175,7 @@ jobs:
175175
run: find bench-results -name "*.log" -or -name "*.hp" | xargs tar -czf benchmark-logs.tar.gz
176176

177177
- name: Archive benchmark logs
178-
uses: actions/upload-artifact@v3
178+
uses: actions/upload-artifact@v4
179179
with:
180180
name: bench-logs-${{ matrix.example }}-${{ runner.os }}-${{ matrix.ghc }}
181181
path: benchmark-logs.tar.gz

0 commit comments

Comments
 (0)