diff --git a/.github/workflows/go-postsubmit.yml b/.github/workflows/go-postsubmit.yml index 657f3459..db370f50 100644 --- a/.github/workflows/go-postsubmit.yml +++ b/.github/workflows/go-postsubmit.yml @@ -9,8 +9,8 @@ on: env: # Common versions - GO_VERSION: '1.22' - GO_REQUIRED_MIN_VERSION: '' + GO_VERSION: "1.23" + GO_REQUIRED_MIN_VERSION: "" jobs: images: @@ -18,7 +18,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - arch: [ amd64, arm64 ] + arch: [amd64, arm64] steps: - name: checkout code uses: actions/checkout@v4 @@ -44,7 +44,7 @@ jobs: image-manifest: name: image manifest runs-on: ubuntu-latest - needs: [ images ] + needs: [images] steps: - name: checkout code uses: actions/checkout@v4 diff --git a/.github/workflows/go-presubmit.yml b/.github/workflows/go-presubmit.yml index 851631f5..081d613c 100644 --- a/.github/workflows/go-presubmit.yml +++ b/.github/workflows/go-presubmit.yml @@ -13,7 +13,7 @@ on: env: # Common versions - GO_VERSION: "1.22" + GO_VERSION: "1.23" GO_REQUIRED_MIN_VERSION: "" jobs: diff --git a/.github/workflows/go-release.yml b/.github/workflows/go-release.yml index a367b8f3..a81fe731 100644 --- a/.github/workflows/go-release.yml +++ b/.github/workflows/go-release.yml @@ -3,13 +3,13 @@ name: GoRelease on: push: tags: - - 'v*.*.*' + - "v*.*.*" env: # Common versions - GO_VERSION: '1.22' - GO_REQUIRED_MIN_VERSION: '' + GO_VERSION: "1.23" + GO_REQUIRED_MIN_VERSION: "" GITHUB_REF: ${{ github.ref }} - CHART_NAME: 'cluster-proxy' + CHART_NAME: "cluster-proxy" jobs: env: @@ -37,10 +37,10 @@ jobs: images: name: images runs-on: ubuntu-latest - needs: [ env ] + needs: [env] strategy: matrix: - arch: [ amd64, arm64 ] + arch: [amd64, arm64] steps: - name: checkout code uses: actions/checkout@v4 @@ -66,7 +66,7 @@ jobs: image-manifest: name: image manifest runs-on: ubuntu-latest - needs: [ env, images ] + needs: [env, images] steps: - name: checkout code uses: actions/checkout@v4 @@ -90,7 +90,7 @@ jobs: release: name: release runs-on: ubuntu-latest - needs: [ env, image-manifest ] + needs: [env, image-manifest] steps: - name: checkout code uses: actions/checkout@v4 diff --git a/Makefile b/Makefile index 240f78a1..3cb22bc5 100644 --- a/Makefile +++ b/Makefile @@ -57,7 +57,7 @@ vet: ## Run go vet against code. go vet ./... golint: - go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.54.1 + go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.64.8 golangci-lint run --timeout=3m ./... verify: fmt vet golint diff --git a/cmd/Dockerfile b/cmd/Dockerfile index 65e2ce6f..9d3a81eb 100644 --- a/cmd/Dockerfile +++ b/cmd/Dockerfile @@ -1,5 +1,5 @@ # Build the manager binary -FROM golang:1.22 as builder +FROM golang:1.23 as builder WORKDIR /workspace diff --git a/go.mod b/go.mod index b4042be0..b75403ea 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module open-cluster-management.io/cluster-proxy -go 1.22.0 +go 1.23.6 require ( github.com/onsi/ginkgo/v2 v2.17.1