Skip to content

Commit

Permalink
Use Go 1.23 (#8)
Browse files Browse the repository at this point in the history
* Use Go 1.23

Signed-off-by: 1gtm <[email protected]>

* Fix linter

Signed-off-by: rasel <[email protected]>

---------

Signed-off-by: 1gtm <[email protected]>
Signed-off-by: rasel <[email protected]>
Co-authored-by: rasel <[email protected]>
  • Loading branch information
1gtm and Superm4n97 authored Aug 20, 2024
1 parent 35682fd commit 1abf5b1
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ concurrency:
jobs:
build:
name: Build
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
steps:

- name: Set up Go 1.21
- name: Set up Go 1.23
uses: actions/setup-go@v1
with:
go-version: '1.21'
go-version: '1.23'
id: go

- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-tracker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ concurrency:

jobs:
build:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04

steps:
- uses: actions/checkout@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ concurrency:
jobs:
build:
name: Build
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v1

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ TAG_DBG := $(VERSION)-dbg_$(OS)_$(ARCH)

GO_VERSION ?= 1.21
BUILD_IMAGE ?= ghcr.io/appscode/golang-dev:$(GO_VERSION)
CHART_TEST_IMAGE ?= quay.io/helmpack/chart-testing:v3.5.1
CHART_TEST_IMAGE ?= quay.io/helmpack/chart-testing:v3.11.0

OUTBIN = bin/$(BIN)-$(OS)-$(ARCH)
ifeq ($(OS),windows)
Expand Down
3 changes: 1 addition & 2 deletions pkg/cmds/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ import (
utilruntime "k8s.io/apimachinery/pkg/util/runtime"
clientgoscheme "k8s.io/client-go/kubernetes/scheme"
"k8s.io/klog/v2"
"k8s.io/klog/v2/klogr"
"kmodules.xyz/client-go/meta"
"kmodules.xyz/client-go/tools/clusterid"
ec2api "kubedb.dev/provider-aws/apis/ec2/v1alpha1"
Expand Down Expand Up @@ -66,7 +65,7 @@ func NewCmdRun() *cobra.Command {
Run: func(cmd *cobra.Command, args []string) {
klog.Infof("Starting binary version %s+%s ...", v.Version.Version, v.Version.CommitHash)

ctrl.SetLogger(klogr.New())
ctrl.SetLogger(klog.NewKlogr())

cfg := ctrl.GetConfigOrDie()
cfg.QPS = QPS
Expand Down

0 comments on commit 1abf5b1

Please sign in to comment.