File tree Expand file tree Collapse file tree 5 files changed +19
-10
lines changed Expand file tree Collapse file tree 5 files changed +19
-10
lines changed Original file line number Diff line number Diff line change 14
14
runs-on : ubuntu-latest
15
15
steps :
16
16
17
- - name : Set up Go 1.x
18
- uses : actions/setup-go@v2
17
+ - name : Set up Go
18
+ uses : actions/setup-go@v3
19
19
with :
20
20
go-version : ~1.17
21
21
id : go
@@ -53,27 +53,36 @@ jobs:
53
53
runs-on : ubuntu-latest
54
54
steps :
55
55
56
+ - name : Set up Go
57
+ uses : actions/setup-go@v3
58
+ with :
59
+ go-version : ~1.17
60
+ id : go
61
+
56
62
- name : Check out code into the Go module directory
57
63
uses : actions/checkout@v2
58
64
59
65
- name : Lint
60
- uses : golangci/golangci-lint-action@v2
66
+ uses : golangci/golangci-lint-action@v3
61
67
with :
62
- version : v1.35 .2
68
+ version : v1.45 .2
63
69
64
70
go-apidiff :
65
71
name : go-apidiff
66
72
if : github.event_name == 'pull_request'
67
73
runs-on : ubuntu-latest
68
74
steps :
75
+
69
76
- name : Set up Go
70
- uses : actions/setup-go@v2
77
+ uses : actions/setup-go@v3
71
78
with :
72
- go-version : ~1.16
79
+ go-version : ~1.17
73
80
id : go
81
+
74
82
- name : Check out code into the Go module directory
75
83
uses : actions/checkout@v2
76
84
with :
77
85
fetch-depth : 0
86
+
78
87
- name : Run go-apidiff
79
88
uses : joelanford/go-apidiff@main
Original file line number Diff line number Diff line change 26
26
GPG_PASSWORD : ${{ secrets.GPG_PASSWORD }}
27
27
28
28
- name : Install Go
29
- uses : actions/setup-go@v2
29
+ uses : actions/setup-go@v3
30
30
with :
31
31
go-version : ~1.17
32
32
Original file line number Diff line number Diff line change 8
8
# Hooks to run before any build is run.
9
9
before :
10
10
hooks :
11
- - go version | grep --quiet "go1\.15\.6 " || echo "Go binary version must be 1.15.6 "
11
+ - go version | grep --quiet "go1\.17 " || echo "Go binary version must be 1.17.x "
12
12
- go mod download
13
13
14
14
# Binary builds.
Original file line number Diff line number Diff line change 1
1
# Build the manager binary
2
- FROM --platform=$BUILDPLATFORM golang:1.15 as builder
2
+ FROM --platform=$BUILDPLATFORM golang:1.17 as builder
3
3
ARG TARGETOS
4
4
ARG TARGETARCH
5
5
Original file line number Diff line number Diff line change 69
69
# Run various checks against code
70
70
.PHONY : lint
71
71
lint :
72
- fetch golangci-lint 1.43.0 && golangci-lint run
72
+ fetch golangci-lint 1.45.2 && golangci-lint run
73
73
74
74
.PHONY : release
75
75
release : GORELEASER_ARGS ?= --snapshot --rm-dist --skip-sign
You can’t perform that action at this time.
0 commit comments