diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3daa22370..e27f9c464 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -27,7 +27,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - go-version: ['1.22'] + go-version: ['1.23'] fail-fast: true steps: - name: Checkout diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 9017d5280..56340b1d4 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -35,7 +35,7 @@ jobs: security-events: write strategy: matrix: - go-version: ['1.22'] + go-version: ['1.23'] fail-fast: false steps: - name: Checkout repository diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index e66f240bb..a8adf1273 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -27,7 +27,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - go-version: ['1.22'] + go-version: ['1.23'] fail-fast: true steps: - name: Checkout diff --git a/.github/workflows/release-github.yml b/.github/workflows/release-github.yml index f5c8bf46d..e1c066139 100644 --- a/.github/workflows/release-github.yml +++ b/.github/workflows/release-github.yml @@ -29,7 +29,7 @@ jobs: - name: setup go environment uses: actions/setup-go@v5 with: - go-version: '1.22.3' + go-version: '1.23.0' - name: run goreleaser uses: goreleaser/goreleaser-action@v6 with: diff --git a/Dockerfile b/Dockerfile index 91bc29572..f999e0281 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,7 +11,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -FROM --platform=$BUILDPLATFORM docker.io/library/golang:1.22.3-alpine as builder +FROM --platform=$BUILDPLATFORM docker.io/library/golang:1.23.0-alpine as builder ARG TARGETPLATFORM RUN apk add git make ENV ORASPKG /oras diff --git a/go.mod b/go.mod index 1e3f76227..c6b44e79c 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module oras.land/oras -go 1.22.0 +go 1.23.0 require ( github.com/Masterminds/sprig/v3 v3.3.0 diff --git a/snapcraft.yaml b/snapcraft.yaml index 8ee8cf535..8082d8403 100644 --- a/snapcraft.yaml +++ b/snapcraft.yaml @@ -34,7 +34,7 @@ parts: - on amd64 to {ARCH}: - TARGET_ARCH: "{ARCH}" build-snaps: - - go/1.22/stable + - go/1.23/stable build-packages: - make stage-packages: diff --git a/test/e2e/go.mod b/test/e2e/go.mod index ea1b056ac..71de7dd8e 100644 --- a/test/e2e/go.mod +++ b/test/e2e/go.mod @@ -1,6 +1,6 @@ module oras.land/oras/test/e2e -go 1.22.0 +go 1.23.0 require ( github.com/onsi/ginkgo/v2 v2.20.2 diff --git a/test/e2e/go.work b/test/e2e/go.work index 4cbad6511..30c306ef4 100644 --- a/test/e2e/go.work +++ b/test/e2e/go.work @@ -1,4 +1,4 @@ -go 1.22.0 +go 1.23.0 use ( .