Skip to content

build: golang 1.20 #15

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
# Copyright 2023 D2iQ, Inc. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

run:
timeout: 5m
go: '1.17'

linters:
disable-all: true
enable:
Expand Down
4 changes: 2 additions & 2 deletions .tool-versions
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ gcloud 416.0.0
gcloud 416.0.0
ginkgo 2.8.0
gojq 0.12.11
golang 1.19.5
golangci-lint 1.50.1
golang 1.20
golangci-lint 1.51.0
goreleaser 1.15.0
helm 3.11.0
helm-docs 1.11.0
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

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

go 1.19
go 1.20

require (
github.com/spf13/pflag v1.0.5
Expand Down
2 changes: 1 addition & 1 deletion make/go.mk
Original file line number Diff line number Diff line change
Expand Up @@ -168,5 +168,5 @@ go-generate: install-tool.golang install-tool.kube-controller-tools ; $(info $(M

.PHONY: go-mod-upgrade
go-mod-upgrade: ## Interactive check for direct module dependency upgrades
go-mod-upgrade: install-tool.golang ; $(info $(M) checking for direct module dependency upgrades)
go-mod-upgrade: install-tool.go.go-mod-upgrade; $(info $(M) checking for direct module dependency upgrades)
go-mod-upgrade
4 changes: 1 addition & 3 deletions pkg/addons/cni.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@
package addons

import (

// embedding as []byte does not import the package.
_ "embed"
_ "embed" // embedding as []byte does not import the package.

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