Skip to content

Commit c3c1c60

Browse files
authored
build: golang 1.20 (#15)
1 parent c3ec48d commit c3c1c60

File tree

5 files changed

+5
-11
lines changed

5 files changed

+5
-11
lines changed

.golangci.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
# Copyright 2023 D2iQ, Inc. All rights reserved.
22
# SPDX-License-Identifier: Apache-2.0
33

4-
run:
5-
timeout: 5m
6-
go: '1.17'
7-
84
linters:
95
disable-all: true
106
enable:

.tool-versions

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ gcloud 416.0.0
33
gcloud 416.0.0
44
ginkgo 2.8.0
55
gojq 0.12.11
6-
golang 1.19.5
7-
golangci-lint 1.50.1
6+
golang 1.20
7+
golangci-lint 1.51.0
88
goreleaser 1.15.0
99
helm 3.11.0
1010
helm-docs 1.11.0

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
module github.com/d2iq-labs/capi-runtime-extensions
55

6-
go 1.19
6+
go 1.20
77

88
require (
99
github.com/spf13/pflag v1.0.5

make/go.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,5 +168,5 @@ go-generate: install-tool.golang install-tool.kube-controller-tools ; $(info $(M
168168

169169
.PHONY: go-mod-upgrade
170170
go-mod-upgrade: ## Interactive check for direct module dependency upgrades
171-
go-mod-upgrade: install-tool.golang ; $(info $(M) checking for direct module dependency upgrades)
171+
go-mod-upgrade: install-tool.go.go-mod-upgrade; $(info $(M) checking for direct module dependency upgrades)
172172
go-mod-upgrade

pkg/addons/cni.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@
44
package addons
55

66
import (
7-
8-
// embedding as []byte does not import the package.
9-
_ "embed"
7+
_ "embed" // embedding as []byte does not import the package.
108

119
"k8s.io/apimachinery/pkg/apis/meta/v1/unstructured"
1210
clusterv1 "sigs.k8s.io/cluster-api/api/v1beta1"

0 commit comments

Comments
 (0)