@@ -26,7 +26,10 @@ jobs :
26
26
name : Build all
27
27
runs-on : workflow-kotlin-test-runner-ubuntu-4core
28
28
steps :
29
- - uses : actions/checkout@v3
29
+ - name : Checkout
30
+ uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
31
+ with :
32
+ ref : ${{ github.head_ref }}
30
33
31
34
- name : main build
32
35
uses : ./.github/actions/gradle-task
@@ -39,7 +42,10 @@ jobs :
39
42
runs-on : ubuntu-latest
40
43
needs : build-all
41
44
steps :
42
- - uses : actions/checkout@v3
45
+ - name : Checkout
46
+ uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
47
+ with :
48
+ ref : ${{ github.head_ref }}
43
49
44
50
- name : Run dokka to validate kdoc
45
51
uses : ./.github/actions/gradle-task
@@ -51,7 +57,10 @@ jobs :
51
57
name : Shard Matrix Yaml
52
58
runs-on : workflow-kotlin-test-runner-ubuntu-4core
53
59
steps :
54
- - uses : actions/checkout@v3
60
+ - name : Checkout
61
+ uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
62
+ with :
63
+ ref : ${{ github.head_ref }}
55
64
56
65
- name : check published artifacts
57
66
uses : ./.github/actions/gradle-task-with-commit
@@ -66,7 +75,10 @@ jobs :
66
75
# the `artifactsCheck` task has to run on macOS in order to see the iOS KMP artifacts
67
76
runs-on : macos-latest
68
77
steps :
69
- - uses : actions/checkout@v3
78
+ - name : Checkout
79
+ uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
80
+ with :
81
+ ref : ${{ github.head_ref }}
70
82
71
83
- name : check published artifacts
72
84
uses : ./.github/actions/gradle-task-with-commit
@@ -80,7 +92,10 @@ jobs :
80
92
name : Dependency Guard
81
93
runs-on : ubuntu-latest
82
94
steps :
83
- - uses : actions/checkout@v3
95
+ - name : Checkout
96
+ uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
97
+ with :
98
+ ref : ${{ github.head_ref }}
84
99
85
100
# If the PR was made by a maintainer or Renovate, automatically update baselines and push
86
101
# so that no one has to check out the branch and update the baselines manually.
@@ -96,7 +111,10 @@ jobs :
96
111
name : KtLint
97
112
runs-on : ubuntu-latest
98
113
steps :
99
- - uses : actions/checkout@v3
114
+ - name : Checkout
115
+ uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
116
+ with :
117
+ ref : ${{ github.head_ref }}
100
118
101
119
# If the PR was made by a maintainer or Renovate, automatically format and push
102
120
# so that no one has to check out the branch and do it manually.
@@ -112,7 +130,10 @@ jobs :
112
130
name : Api check
113
131
runs-on : ubuntu-latest
114
132
steps :
115
- - uses : actions/checkout@v3
133
+ - name : Checkout
134
+ uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
135
+ with :
136
+ ref : ${{ github.head_ref }}
116
137
117
138
# If the PR was made by a maintainer or Renovate, automatically format and push
118
139
# so that no one has to check out the branch and do it manually.
@@ -130,7 +151,10 @@ jobs :
130
151
needs : build-all
131
152
timeout-minutes : 20
132
153
steps :
133
- - uses : actions/checkout@v3
154
+ - name : Checkout
155
+ uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
156
+ with :
157
+ ref : ${{ github.head_ref }}
134
158
- name : Check with Gradle
135
159
uses : ./.github/actions/gradle-task
136
160
with :
@@ -143,7 +167,10 @@ jobs :
143
167
needs : build-all
144
168
timeout-minutes : 20
145
169
steps :
146
- - uses : actions/checkout@v3
170
+ - name : Checkout
171
+ uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
172
+ with :
173
+ ref : ${{ github.head_ref }}
147
174
- name : Check with Gradle
148
175
uses : ./.github/actions/gradle-task
149
176
with :
@@ -167,7 +194,10 @@ jobs :
167
194
timeout-minutes : 15
168
195
steps :
169
196
# These setup steps should be common across all jobs in this workflow.
170
- - uses : actions/checkout@v3
197
+ - name : Checkout
198
+ uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
199
+ with :
200
+ ref : ${{ github.head_ref }}
171
201
- name : build tutorials
172
202
uses : ./.github/actions/gradle-task
173
203
with :
@@ -180,7 +210,10 @@ jobs :
180
210
runs-on : ubuntu-latest
181
211
timeout-minutes : 20
182
212
steps :
183
- - uses : actions/checkout@v3
213
+ - name : Checkout
214
+ uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
215
+ with :
216
+ ref : ${{ github.head_ref }}
184
217
- name : Check with Gradle
185
218
uses : ./.github/actions/gradle-task
186
219
with :
@@ -199,7 +232,10 @@ jobs :
199
232
runs-on : ubuntu-latest
200
233
timeout-minutes : 20
201
234
steps :
202
- - uses : actions/checkout@v3
235
+ - name : Checkout
236
+ uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
237
+ with :
238
+ ref : ${{ github.head_ref }}
203
239
- name : Check with Gradle
204
240
uses : ./.github/actions/gradle-task
205
241
with :
@@ -218,7 +254,10 @@ jobs :
218
254
runs-on : ubuntu-latest
219
255
timeout-minutes : 20
220
256
steps :
221
- - uses : actions/checkout@v3
257
+ - name : Checkout
258
+ uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
259
+ with :
260
+ ref : ${{ github.head_ref }}
222
261
- name : Check with Gradle
223
262
uses : ./.github/actions/gradle-task
224
263
with :
@@ -237,7 +276,10 @@ jobs :
237
276
runs-on : macos-latest
238
277
timeout-minutes : 30
239
278
steps :
240
- - uses : actions/checkout@v3
279
+ - name : Checkout
280
+ uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
281
+ with :
282
+ ref : ${{ github.head_ref }}
241
283
- name : Check with Gradle
242
284
uses : ./.github/actions/gradle-task
243
285
with :
@@ -256,7 +298,10 @@ jobs :
256
298
runs-on : ubuntu-latest
257
299
timeout-minutes : 20
258
300
steps :
259
- - uses : actions/checkout@v3
301
+ - name : Checkout
302
+ uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
303
+ with :
304
+ ref : ${{ github.head_ref }}
260
305
261
306
# # JS Specific Tests (for KMP js actuals in core and runtime).
262
307
- name : Check with Gradle
@@ -283,7 +328,10 @@ jobs :
283
328
api-level :
284
329
- 31
285
330
steps :
286
- - uses : actions/checkout@v3
331
+ - name : Checkout
332
+ uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
333
+ with :
334
+ ref : ${{ github.head_ref }}
287
335
288
336
- name : Instrumented tests
289
337
uses : ./.github/actions/gradle-tasks-with-emulator
@@ -307,7 +355,10 @@ jobs :
307
355
shardNum : [ 1, 2, 3 ]
308
356
# ## <end-connected-check-shards>
309
357
steps :
310
- - uses : actions/checkout@v3
358
+ - name : Checkout
359
+ uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
360
+ with :
361
+ ref : ${{ github.head_ref }}
311
362
312
363
- name : Instrumented tests
313
364
uses : ./.github/actions/gradle-tasks-with-emulator
@@ -333,7 +384,10 @@ jobs :
333
384
# ## <end-connected-check-shards>
334
385
runtime : [ conflate, baseline-stateChange, conflate-stateChange ]
335
386
steps :
336
- - uses : actions/checkout@v3
387
+ - name : Checkout
388
+ uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
389
+ with :
390
+ ref : ${{ github.head_ref }}
337
391
338
392
- name : Instrumented tests
339
393
uses : ./.github/actions/gradle-tasks-with-emulator
0 commit comments