Skip to content
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

bump Golang to v1.23.1 #122

Merged
merged 4 commits into from
Sep 20, 2024
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
16 changes: 9 additions & 7 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,18 @@ jobs:
- e2e-v1.27
- e2e-v1.28
steps:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.22.5
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 0
path: go/src/github.com/${{ github.repository }}

- name: setup go
uses: actions/setup-go@v5
with:
go-version-file: go/src/github.com/${{ github.repository }}/go.mod
cache-dependency-path: go/src/github.com/${{ github.repository }}/go.sum
id: go

- name: make ${{ matrix.target }}
run: |
# workaround for https://github.com/actions/setup-go/issues/14
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM golang:1.22.5 as builder
FROM golang:1.23.1 AS builder
WORKDIR /go/src/github.com/pingcap/advanced-statefulset
ADD . .
RUN make cmd/controller-manager
Expand Down
2 changes: 1 addition & 1 deletion client/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/pingcap/advanced-statefulset/client

go 1.21
go 1.23.1

require (
github.com/docker/distribution v2.7.1+incompatible
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/pingcap/advanced-statefulset

go 1.22
go 1.23.1

require (
github.com/davecgh/go-spew v1.1.1
Expand Down