File tree 2 files changed +11
-6
lines changed
2 files changed +11
-6
lines changed Original file line number Diff line number Diff line change @@ -12,12 +12,14 @@ jobs:
12
12
name : Lint
13
13
runs-on : ubuntu-latest
14
14
steps :
15
- - uses : actions/checkout@v2
15
+ - uses : actions/setup-go@v3
16
+ with :
17
+ go-version : 1.17
18
+ - uses : actions/checkout@v3
16
19
- name : golangci-lint
17
- uses : golangci/golangci-lint-action@v2
20
+ uses : golangci/golangci-lint-action@v3
18
21
with :
19
- version : v1.33
20
- args : --timeout=5m
22
+ version : latest
21
23
22
24
test :
23
25
name : Test
27
29
28
30
steps :
29
31
- uses : actions/checkout@v2
30
- - uses : actions/setup-go@v2
32
+ - uses : actions/setup-go@v3
33
+ with :
34
+ go-version : 1.17
31
35
- name : Install Kubebuilder
32
36
id : install-kubebuilder
33
37
run : |
Original file line number Diff line number Diff line change 1
1
# Build the manager binary
2
- FROM golang:1.15 as builder
2
+ FROM golang:1.17 as builder
3
3
4
4
WORKDIR /workspace
5
5
# Copy the Go Modules manifests
@@ -18,6 +18,7 @@ COPY controllers/ controllers/
18
18
COPY utils/ utils/
19
19
COPY webhook/ webhook/
20
20
COPY http/ http/
21
+ COPY stubs/ stubs/
21
22
22
23
# Build
23
24
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 GO111MODULE=on go build -a -tags release -o manager main.go
You can’t perform that action at this time.
0 commit comments