File tree 1 file changed +13
-7
lines changed
1 file changed +13
-7
lines changed Original file line number Diff line number Diff line change 1
1
name : Tests
2
2
3
3
on :
4
- workflow_dispatch : {}
4
+ workflow_dispatch :
5
+ inputs :
6
+ ref :
7
+ description : Commit ref to checkout
8
+ required : true
9
+ default : main
10
+ type : string
5
11
6
12
jobs :
7
13
Unit-Tests :
11
17
- uses : actions/checkout@v4
12
18
with :
13
19
repository : weaviate/weaviate
14
- ref : main
20
+ ref : ${{ inputs.ref }}
15
21
- name : Set up Go
16
22
uses : actions/setup-go@v5
17
23
with :
32
38
- uses : actions/checkout@v4
33
39
with :
34
40
repository : weaviate/weaviate
35
- ref : main
41
+ ref : ${{ inputs.ref }}
36
42
- name : Set up Go
37
43
uses : actions/setup-go@v5
38
44
with :
73
79
- uses : actions/checkout@v4
74
80
with :
75
81
repository : weaviate/weaviate
76
- ref : main
82
+ ref : ${{ inputs.ref }}
77
83
- name : Set up Go
78
84
uses : actions/setup-go@v5
79
85
with :
@@ -217,7 +223,7 @@ jobs:
217
223
- uses : actions/checkout@v4
218
224
with :
219
225
repository : weaviate/weaviate
220
- ref : main
226
+ ref : ${{ inputs.ref }}
221
227
- name : Set up Go
222
228
uses : actions/setup-go@v5
223
229
with :
@@ -245,7 +251,7 @@ jobs:
245
251
- uses : actions/checkout@v4
246
252
with :
247
253
repository : weaviate/weaviate
248
- ref : main
254
+ ref : ${{ inputs.ref }}
249
255
- name : Set up Go
250
256
uses : actions/setup-go@v5
251
257
with :
@@ -276,7 +282,7 @@ jobs:
276
282
- uses : actions/checkout@v4
277
283
with :
278
284
repository : weaviate/weaviate
279
- ref : main
285
+ ref : ${{ inputs.ref }}
280
286
- name : Set up Go
281
287
uses : actions/setup-go@v5
282
288
with :
You can’t perform that action at this time.
0 commit comments