File tree Expand file tree Collapse file tree 3 files changed +19
-9
lines changed Expand file tree Collapse file tree 3 files changed +19
-9
lines changed Original file line number Diff line number Diff line change 27
27
28
28
workflow_dispatch :
29
29
30
+ concurrency :
31
+ group : govmomi-build-${{ github.head_ref || github.run_id }}
32
+ cancel-in-progress : true
33
+
30
34
jobs :
31
35
artifacts :
32
36
name : Build Snapshot Release (no upload)
50
54
path : |
51
55
~/.cache/go-build
52
56
~/go/pkg/mod
53
- key : ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
57
+ key : ${{ runner.os }}-go-1.18- ${{ hashFiles('**/go.sum') }}
54
58
restore-keys : |
55
- ${{ runner.os }}-go-
59
+ ${{ runner.os }}-go-1.18-
56
60
57
61
- name : Create CHANGELOG
58
62
env :
Original file line number Diff line number Diff line change 28
28
matrix :
29
29
go-version : ["1.17", "1.18"]
30
30
platform : ["ubuntu-20.04"]
31
+ fail-fast : false
31
32
32
33
runs-on : ${{ matrix.platform }}
33
34
timeout-minutes : 10
48
49
path : |
49
50
~/.cache/go-build
50
51
~/go/pkg/mod
51
- key : ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
52
+ key : ${{ runner.os }}-go-${{ matrix.go-version }}-${{ hashFiles('**/go.sum') }}
52
53
restore-keys : |
53
- ${{ runner.os }}-go-
54
+ ${{ runner.os }}-go-${{ matrix.go-version }}-
54
55
55
56
- name : Run Tests
56
57
env :
Original file line number Diff line number Diff line change 21
21
pull_request :
22
22
branches : ["main", "master"]
23
23
24
+ concurrency :
25
+ group : govmomi-govc-tests-${{ github.head_ref || github.run_id }}
26
+ cancel-in-progress : true
27
+
24
28
jobs :
25
29
govc-tests :
26
30
name : Run govc Tests
27
31
strategy :
32
+ fail-fast : false
28
33
matrix :
29
34
go-version : ["1.17", "1.18"]
30
35
platform : ["ubuntu-20.04"]
31
36
cmd : ["govc-test"]
32
37
experimental : [false]
33
- timeout : [10 ]
38
+ timeout : [20 ]
34
39
include :
35
40
- go-version : " 1.18"
36
41
platform : " ubuntu-20.04"
63
68
path : |
64
69
~/.cache/go-build
65
70
~/go/pkg/mod
66
- key : ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
71
+ key : ${{ runner.os }}-go-${{ matrix.go-version }}-${{ hashFiles('**/go.sum') }}
67
72
restore-keys : |
68
- ${{ runner.os }}-go-
73
+ ${{ runner.os }}-go-${{ matrix.go-version }}-
69
74
70
75
- name : Run ${{ matrix.cmd }}
71
76
run : |
97
102
path : |
98
103
~/.cache/go-build
99
104
~/go/pkg/mod
100
- key : ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
105
+ key : ${{ runner.os }}-go-${{ matrix.go-version }}-${{ hashFiles('**/go.sum') }}
101
106
restore-keys : |
102
- ${{ runner.os }}-go-
107
+ ${{ runner.os }}-go-${{ matrix.go-version }}-
103
108
104
109
- name : Run "make doc"
105
110
run : |
You can’t perform that action at this time.
0 commit comments