Commit b09a65b 1 parent 966fd21 commit b09a65b Copy full SHA for b09a65b
File tree 7 files changed +22
-12
lines changed
7 files changed +22
-12
lines changed Original file line number Diff line number Diff line change @@ -43,12 +43,13 @@ jobs:
43
43
- webhosting
44
44
runs-on : ubuntu-latest
45
45
steps :
46
+ # Checkout should always be before setup-go to ensure caching is working
47
+ - name : Checkout
48
+ uses : actions/checkout@v4
46
49
- name : Install Go
47
50
uses : actions/setup-go@v5
48
51
with :
49
52
go-version : 1.22
50
- - name : Checkout
51
- uses : actions/checkout@v4
52
53
- name : Run Acceptance Tests
53
54
run : go test -v ./internal/services/${{ matrix.products }} -timeout=2h
54
55
env :
@@ -66,12 +67,13 @@ jobs:
66
67
fail-fast : false
67
68
runs-on : ubuntu-latest
68
69
steps :
70
+ # Checkout should always be before setup-go to ensure caching is working
71
+ - name : Checkout
72
+ uses : actions/checkout@v4
69
73
- name : Install Go
70
74
uses : actions/setup-go@v5
71
75
with :
72
76
go-version : 1.22
73
- - name : Checkout
74
- uses : actions/checkout@v4
75
77
- name : Run scwconfig tests
76
78
run : go test -v ./internal/services/scwconfig -timeout=2m
77
79
env :
Original file line number Diff line number Diff line change 9
9
build :
10
10
runs-on : ubuntu-latest
11
11
steps :
12
+ # Checkout should always be before setup-go to ensure caching is working
12
13
- uses : actions/checkout@v4
13
14
with :
14
15
fetch-depth : 2
Original file line number Diff line number Diff line change 38
38
misspell :
39
39
runs-on : ubuntu-latest
40
40
steps :
41
+ # Checkout should always be before setup-go to ensure caching is working
41
42
- uses : actions/checkout@v4
42
43
- uses : actions/setup-go@v5
43
44
with :
Original file line number Diff line number Diff line change @@ -44,12 +44,13 @@ jobs:
44
44
- webhosting
45
45
runs-on : ubuntu-latest
46
46
steps :
47
+ # Checkout should always be before setup-go to ensure caching is working
48
+ - name : Checkout
49
+ uses : actions/checkout@v4
47
50
- name : Install Go
48
51
uses : actions/setup-go@v5
49
52
with :
50
53
go-version : 1.22
51
- - name : Checkout
52
- uses : actions/checkout@v4
53
54
- name : Run Acceptance Tests
54
55
run : go test -v ./internal/services/${{ matrix.products }} -timeout=4h
55
56
env :
@@ -92,12 +93,13 @@ jobs:
92
93
needs : nightly
93
94
if : always()
94
95
steps :
96
+ # Checkout should always be before setup-go to ensure caching is working
97
+ - name : Checkout
98
+ uses : actions/checkout@v4
95
99
- name : Install Go
96
100
uses : actions/setup-go@v5
97
101
with :
98
102
go-version : 1.22
99
- - name : Checkout
100
- uses : actions/checkout@v4
101
103
- name : Run sweepers
102
104
run : make sweep
103
105
env :
Original file line number Diff line number Diff line change 18
18
goreleaser :
19
19
runs-on : ubuntu-latest
20
20
steps :
21
+ # Checkout should always be before setup-go to ensure caching is working
21
22
- name : Checkout
22
23
uses : actions/checkout@v4
23
24
Original file line number Diff line number Diff line change 9
9
tfproviderlint :
10
10
runs-on : ubuntu-latest
11
11
steps :
12
+ # Checkout should always be before setup-go to ensure caching is working
12
13
- uses : actions/checkout@v4
13
14
- uses : actions/setup-go@v5
14
15
with :
20
21
tfproviderdocs :
21
22
runs-on : ubuntu-latest
22
23
steps :
24
+ # Checkout should always be before setup-go to ensure caching is working
23
25
- uses : actions/checkout@v4
24
26
- uses : actions/setup-go@v5
25
27
with :
Original file line number Diff line number Diff line change @@ -12,14 +12,15 @@ jobs:
12
12
platform : [ubuntu-latest]
13
13
runs-on : ${{ matrix.platform }}
14
14
steps :
15
- - name : Install Go
16
- uses : actions/setup-go@v5
17
- with :
18
- go-version : ${{ matrix.go-version }}
15
+ # Checkout should always be before setup-go to ensure caching is working
19
16
- name : Checkout
20
17
uses : actions/checkout@v4
21
18
with :
22
19
fetch-depth : 1
20
+ - name : Install Go
21
+ uses : actions/setup-go@v5
22
+ with :
23
+ go-version : ${{ matrix.go-version }}
23
24
- name : Build binaries
24
25
run : make build
25
26
- name : Run unit tests
You can’t perform that action at this time.
0 commit comments