37
37
done : ${{ steps.done.outputs.cache-hit }}
38
38
steps :
39
39
- name : " Checkout base code"
40
- uses : actions/checkout@v3
40
+ uses : actions/checkout@v4
41
41
with :
42
42
repository : ${{ env.BASE_REPO }}
43
43
ref : ${{ env.BASE_SHA }}
49
49
printf 'BASE_SHA=%s\n' "$(git rev-list -1 ${{ env.BASE_SHA }} -- stack-graphs)" >> $GITHUB_ENV
50
50
working-directory : ${{ env.BASE_DIR }}
51
51
- name : " Checkout head code"
52
- uses : actions/checkout@v3
52
+ uses : actions/checkout@v4
53
53
with :
54
54
repository : ${{ env.HEAD_REPO }}
55
55
ref : ${{ env.HEAD_SHA }}
62
62
working-directory : ${{ env.HEAD_DIR }}
63
63
- name : " Check cached status"
64
64
id : done
65
- uses : actions/cache/restore@v3
65
+ uses : actions/cache/restore@v4
66
66
with :
67
67
path : done
68
68
key : ${{ runner.os }}-perf-tested-${{ env.BASE_REPO }}@${{ env.BASE_SHA }}-${{ env.HEAD_REPO }}@${{ env.HEAD_SHA }}-${{ env.TEST_NAME }}
83
83
with :
84
84
rust-version : stable
85
85
- name : Cache Rust dependencies
86
- uses : actions/cache@v3
86
+ uses : actions/cache@v4
87
87
with :
88
88
path : |
89
89
~/.cargo
@@ -94,15 +94,15 @@ jobs:
94
94
sudo apt-get install -y valgrind
95
95
- name : " Cache base result"
96
96
id : cache-base-result
97
- uses : actions/cache@v3
97
+ uses : actions/cache@v4
98
98
with :
99
99
path : |
100
100
${{ env.MASSIF_OUT }}
101
101
${{ env.MASSIF_REPORT }}
102
102
key : ${{ runner.os }}-perf-result-${{ env.BASE_REPO }}@${{ env.BASE_SHA }}-${{ env.TEST_NAME }}
103
103
- name : " Checkout base code"
104
104
if : steps.cache-base-result.outputs.cache-hit != 'true'
105
- uses : actions/checkout@v3
105
+ uses : actions/checkout@v4
106
106
with :
107
107
repository : ${{ env.BASE_REPO }}
108
108
ref : ${{ env.BASE_SHA }}
@@ -130,7 +130,7 @@ jobs:
130
130
${{ env.BASE_DIR }}/data/${{ env.TEST_NAME }}
131
131
ms_print ${{ env.MASSIF_OUT }} > ${{ env.MASSIF_REPORT }}
132
132
- name : Upload results
133
- uses : actions/upload-artifact@v3
133
+ uses : actions/upload-artifact@v4
134
134
with :
135
135
name : ${{ env.BASE_ARTIFACT }}
136
136
path : |
@@ -152,7 +152,7 @@ jobs:
152
152
with :
153
153
rust-version : stable
154
154
- name : Cache Rust dependencies
155
- uses : actions/cache@v3
155
+ uses : actions/cache@v4
156
156
with :
157
157
path : |
158
158
~/.cargo
@@ -163,15 +163,15 @@ jobs:
163
163
sudo apt-get install -y valgrind
164
164
- name : " Cache head result"
165
165
id : cache-head-result
166
- uses : actions/cache@v3
166
+ uses : actions/cache@v4
167
167
with :
168
168
path : |
169
169
${{ env.MASSIF_OUT }}
170
170
${{ env.MASSIF_REPORT }}
171
171
key : ${{ runner.os }}-perf-result-${{ env.HEAD_REPO }}@${{ env.HEAD_SHA }}-${{ env.TEST_NAME }}
172
172
- name : " Checkout head code"
173
173
if : steps.cache-head-result.outputs.cache-hit != 'true'
174
- uses : actions/checkout@v3
174
+ uses : actions/checkout@v4
175
175
with :
176
176
repository : ${{ env.HEAD_REPO }}
177
177
ref : ${{ env.HEAD_SHA }}
@@ -199,7 +199,7 @@ jobs:
199
199
${{ env.HEAD_DIR }}/data/${{ env.TEST_NAME }}
200
200
ms_print ${{ env.MASSIF_OUT }} > ${{ env.MASSIF_REPORT }}
201
201
- name : Upload results
202
- uses : actions/upload-artifact@v3
202
+ uses : actions/upload-artifact@v4
203
203
with :
204
204
name : ${{ env.HEAD_ARTIFACT }}
205
205
path : |
@@ -233,20 +233,20 @@ jobs:
233
233
# Download results
234
234
#
235
235
- name : Download base results
236
- uses : actions/download-artifact@v4.1.7
236
+ uses : actions/download-artifact@v4
237
237
with :
238
238
name : ${{ env.BASE_ARTIFACT }}
239
239
path : ${{ env.BASE_ARTIFACT }}
240
240
- name : Download head results
241
- uses : actions/download-artifact@v4.1.7
241
+ uses : actions/download-artifact@v4
242
242
with :
243
243
name : ${{ env.HEAD_ARTIFACT }}
244
244
path : ${{ env.HEAD_ARTIFACT }}
245
245
#
246
246
# Create report
247
247
#
248
248
- name : " Checkout code"
249
- uses : actions/checkout@v3
249
+ uses : actions/checkout@v4
250
250
with :
251
251
path : ${{ env.SRC_DIR }}
252
252
- name : Generate summary
@@ -268,7 +268,7 @@ jobs:
268
268
- name : Create status marker
269
269
run : touch done
270
270
- name : " Cache status"
271
- uses : actions/cache/save@v3
271
+ uses : actions/cache/save@v4
272
272
with :
273
273
path : done
274
274
key : ${{ runner.os }}-perf-tested-${{ env.BASE_REPO }}@${{ env.BASE_SHA }}-${{ env.HEAD_REPO }}@${{ env.HEAD_SHA }}-${{ env.TEST_NAME }}
0 commit comments