File tree Expand file tree Collapse file tree 4 files changed +7
-33
lines changed Expand file tree Collapse file tree 4 files changed +7
-33
lines changed Original file line number Diff line number Diff line change @@ -14,19 +14,10 @@ jobs:
14
14
15
15
- uses : actions/checkout@v3
16
16
17
- - uses : actions/setup-go@v3
17
+ - uses : actions/setup-go@v4
18
18
with :
19
19
go-version-file : go.mod
20
20
21
- - uses : actions/cache@v3
22
- with :
23
- path : |
24
- ~/.cache/go-build
25
- ~/go/pkg/mod
26
- key : ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
27
- restore-keys : |
28
- ${{ runner.os }}-go-
29
-
30
21
- name : Run e2e tests
31
22
run : |
32
23
make e2e
Original file line number Diff line number Diff line change 9
9
with :
10
10
fetch-depth : 0
11
11
12
- - uses : actions/setup-go@v3
12
+ - uses : actions/setup-go@v4
13
13
with :
14
14
go-version-file : go.mod
15
15
16
- - uses : actions/cache@v3
17
- with :
18
- path : |
19
- ~/.cache/go-build
20
- ~/go/pkg/mod
21
- key : ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
22
- restore-keys : |
23
- ${{ runner.os }}-go-
24
-
25
16
- uses : joelanford/go-apidiff@main
Original file line number Diff line number Diff line change @@ -22,13 +22,13 @@ jobs:
22
22
fetch-depth : 0
23
23
24
24
- name : Install Go
25
- uses : actions/setup-go@v3
25
+ uses : actions/setup-go@v4
26
26
with :
27
27
go-version-file : " go.mod"
28
28
29
29
- name : Docker Login
30
30
if : ${{ github.event_name != 'pull_request' }}
31
- uses : docker/login-action@v1
31
+ uses : docker/login-action@v2
32
32
with :
33
33
registry : quay.io
34
34
username : ${{ secrets.QUAY_USERNAME }}
55
55
- name : Generate the operator-controller release manifests
56
56
if : ${{ startsWith(github.ref, 'refs/tags/v') }}
57
57
run : |
58
- make quickstart VERSION=${GITHUB_REF#refs/tags/}
58
+ echo VERSION="${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
59
+ make quickstart
59
60
60
61
- name : Run goreleaser
61
62
run : make release
Original file line number Diff line number Diff line change @@ -14,19 +14,10 @@ jobs:
14
14
15
15
- uses : actions/checkout@v3
16
16
17
- - uses : actions/setup-go@v3
17
+ - uses : actions/setup-go@v4
18
18
with :
19
19
go-version-file : go.mod
20
20
21
- - uses : actions/cache@v3
22
- with :
23
- path : |
24
- ~/.cache/go-build
25
- ~/go/pkg/mod
26
- key : ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
27
- restore-keys : |
28
- ${{ runner.os }}-go-
29
-
30
21
- name : Run basic unit tests
31
22
run : |
32
23
make test-unit
You can’t perform that action at this time.
0 commit comments