Skip to content

Commit 587881b

Browse files
authored
Merge pull request #1188 from carvel-dev/bump-golang-1.20.3
Bumping golang version to v1.20.3 and making golint happy
2 parents 5021892 + e61b25b commit 587881b

20 files changed

+29
-29
lines changed

.github/workflows/benchmark-action.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- uses: actions/[email protected]
2525
- uses: actions/setup-go@v3 # default version of go is 1.10
2626
with:
27-
go-version: "1.19.6"
27+
go-version: "1.20.3"
2828
- name: Install Carvel Tools
2929
run: ./hack/install-deps.sh
3030
# Run benchmark with `go test -bench` and stores the output to a file

.github/workflows/dependency-updater.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Set up Go 1.x
1717
uses: actions/setup-go@v3
1818
with:
19-
go-version: "1.19.6"
19+
go-version: "1.20.3"
2020
- name: Update Dependencies File
2121
run: go run ./hack/dependencies.go update
2222
- name: Create Pull Request

.github/workflows/golangci-lint.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ jobs:
2121
- name: Set up Go 1.x
2222
uses: actions/setup-go@v3
2323
with:
24-
go-version: "1.19.6"
24+
go-version: "1.20.3"
2525
- uses: actions/[email protected]
2626
with:
2727
fetch-depth: '0'
2828
- name: golangci-lint
29-
uses: golangci/golangci-lint-action@v3
29+
uses: golangci/golangci-lint-action@v3.4.0
3030
with:
31-
version: v1.50.1
31+
version: v1.52.2
3232
args: -v

.github/workflows/release-process.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
- name: Set up Go 1.x
3636
uses: actions/setup-go@v3
3737
with:
38-
go-version: "1.19.6"
38+
go-version: "1.20.3"
3939

4040
- name: Run release script
4141
run: |

.github/workflows/test-gh.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: Set up Go 1.x
2727
uses: actions/setup-go@v3
2828
with:
29-
go-version: "1.19.6"
29+
go-version: "1.20.3"
3030
- name: Check out code
3131
uses: actions/[email protected]
3232
with:

.github/workflows/test-kctrl-gh.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: Set up Go 1.x
2525
uses: actions/setup-go@v3
2626
with:
27-
go-version: "1.19.6"
27+
go-version: "1.20.3"
2828
- name: Check out code
2929
uses: actions/[email protected]
3030
with:

.github/workflows/trivy-scan.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
- name: Set up Go 1.x
7171
uses: actions/setup-go@v3
7272
with:
73-
go-version: "1.19.6"
73+
go-version: "1.20.3"
7474
- name: Build the kapp-controller artifacts
7575
run: |
7676
./hack/install-deps.sh

.github/workflows/upgrade-testing.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: Set up Go 1.x
2727
uses: actions/setup-go@v3
2828
with:
29-
go-version: "1.19.6"
29+
go-version: "1.20.3"
3030
- name: Check out code
3131
uses: actions/[email protected]
3232
- name: Install Carvel Tools

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM --platform=$BUILDPLATFORM golang:1.19.6 AS deps
1+
FROM --platform=$BUILDPLATFORM golang:1.20.3 AS deps
22

33
ARG TARGETOS TARGETARCH KCTRL_VER=development
44
WORKDIR /workspace

cli/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/vmware-tanzu/carvel-kapp-controller/cli
22

3-
go 1.19
3+
go 1.20
44

55
require (
66
github.com/cppforlife/cobrautil v0.0.0-20221130162803-acdfead391ef

0 commit comments

Comments
 (0)