diff --git a/.github/linters/go.mod b/.github/linters/go.mod index afdab79548..253ac60d66 100644 --- a/.github/linters/go.mod +++ b/.github/linters/go.mod @@ -1,3 +1,3 @@ module linters -go 1.13 +go 1.23 diff --git a/.github/workflows/reviewdog.yml b/.github/workflows/reviewdog.yml index 6c79291416..b0e4248d43 100644 --- a/.github/workflows/reviewdog.yml +++ b/.github/workflows/reviewdog.yml @@ -8,7 +8,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: '1.21' + go-version: '1.23' - name: golangci-lint uses: golangci/golangci-lint-action@v6 with: @@ -34,7 +34,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: '1.21' + go-version: '1.23' - run: go install mvdan.cc/sh/v3/cmd/shfmt@latest - run: $(go env GOPATH)/bin/shfmt -f . | grep -v 'vendor' | xargs $(go env GOPATH)/bin/shfmt -bn -ci -s -w - name: suggester / shfmt @@ -85,7 +85,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: '1.21' + go-version: '1.23' - name: check on release branch if: ${{ contains(github.head_ref, 'release-') || contains(github.base_ref, 'release-') }} run: | diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 30bde4e992..c613450266 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,7 +7,7 @@ jobs: steps: - uses: actions/setup-go@v5 with: - go-version: '1.21' + go-version: '1.23' - uses: actions/checkout@v4 - name: go test run: make test diff --git a/build/Dockerfile b/build/Dockerfile index 1e18a75876..82d47792c8 100644 --- a/build/Dockerfile +++ b/build/Dockerfile @@ -1,4 +1,4 @@ -FROM --platform=${BUILDPLATFORM} golang:1.22 AS go_builder +FROM --platform=${BUILDPLATFORM} golang:1.23 AS go_builder WORKDIR /go/src/github.com/percona/percona-xtradb-cluster-operator COPY go.mod go.sum ./ diff --git a/go.mod b/go.mod index 0e3379269f..617fb20bff 100644 --- a/go.mod +++ b/go.mod @@ -1,7 +1,6 @@ module github.com/percona/percona-xtradb-cluster-operator -go 1.22.6 -toolchain go1.23.4 +go 1.23.4 require ( github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v1.5.0