File tree Expand file tree Collapse file tree 2 files changed +11
-6
lines changed
Expand file tree Collapse file tree 2 files changed +11
-6
lines changed Original file line number Diff line number Diff line change @@ -12,12 +12,14 @@ jobs:
1212 name : Lint
1313 runs-on : ubuntu-latest
1414 steps :
15- - uses : actions/checkout@v2
15+ - uses : actions/setup-go@v3
16+ with :
17+ go-version : 1.17
18+ - uses : actions/checkout@v3
1619 - name : golangci-lint
17- uses : golangci/golangci-lint-action@v2
20+ uses : golangci/golangci-lint-action@v3
1821 with :
19- version : v1.33
20- args : --timeout=5m
22+ version : latest
2123
2224 test :
2325 name : Test
2729
2830 steps :
2931 - uses : actions/checkout@v2
30- - uses : actions/setup-go@v2
32+ - uses : actions/setup-go@v3
33+ with :
34+ go-version : 1.17
3135 - name : Install Kubebuilder
3236 id : install-kubebuilder
3337 run : |
Original file line number Diff line number Diff line change 11# Build the manager binary
2- FROM golang:1.15 as builder
2+ FROM golang:1.17 as builder
33
44WORKDIR /workspace
55# Copy the Go Modules manifests
@@ -18,6 +18,7 @@ COPY controllers/ controllers/
1818COPY utils/ utils/
1919COPY webhook/ webhook/
2020COPY http/ http/
21+ COPY stubs/ stubs/
2122
2223# Build
2324RUN 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