diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c0b77c6097..0782add114 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,7 +22,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - go-version: [ '1.21', '1.22' ] + go-version: [ '1.22', '1.23' ] steps: - uses: actions/checkout@v3 - uses: actions/setup-go@v5 @@ -36,7 +36,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-go@v5 with: - go-version: '1.20' + go-version: '1.22' - name: Check license header run: docker run --rm -v $(pwd):/github/workspace ghcr.io/korandoru/hawkeye-native:v3 check - name: Run golangci-lint @@ -48,7 +48,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - go-version: [ '1.21', '1.22' ] + go-version: [ '1.22', '1.23' ] steps: - uses: actions/checkout@v3 - name: clean docker cache diff --git a/Dockerfile b/Dockerfile index fecfa98f8a..8895c07619 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,7 +19,7 @@ # set via the Makefile or CLI ARG PULSAR_IMAGE=apachepulsar/pulsar:latest -ARG GO_VERSION=1.20 +ARG GO_VERSION=1.22 FROM golang:$GO_VERSION as golang FROM $PULSAR_IMAGE diff --git a/Makefile b/Makefile index 23844c41c9..5c38303eaf 100644 --- a/Makefile +++ b/Makefile @@ -20,7 +20,7 @@ IMAGE_NAME = pulsar-client-go-test:latest PULSAR_VERSION ?= 3.2.2 PULSAR_IMAGE = apachepulsar/pulsar:$(PULSAR_VERSION) -GO_VERSION ?= 1.21 +GO_VERSION ?= 1.22 CONTAINER_ARCH ?= $(shell uname -m | sed s/x86_64/amd64/) # Golang standard bin directory. diff --git a/go.mod b/go.mod index 1a7025fd1d..c2f3457ac0 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/apache/pulsar-client-go -go 1.21 +go 1.22 require ( github.com/99designs/keyring v1.2.1