diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c71221dd..de823a5c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -28,7 +28,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - go-version: ['1.22', '1.23'] + go-version: ['1.23', '1.24'] fail-fast: true steps: - name: Checkout diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 59a7c0cc..9401b9a3 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', '1.23'] + go-version: ['1.23', '1.24'] fail-fast: false steps: - name: Checkout repository diff --git a/README.md b/README.md index 1bbeb34d..77758dd9 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ The ORAS Go library follows [Semantic Versioning](https://semver.org/), where br The version `2` is actively developed in the [`main`](https://github.com/oras-project/oras-go/tree/main) branch with all new features. > [!Note] -> The `main` branch follows [Go's Security Policy](https://github.com/golang/go/security/policy) and supports the two latest versions of Go (currently `1.22` and `1.23`). +> The `main` branch follows [Go's Security Policy](https://github.com/golang/go/security/policy) and supports the two latest versions of Go (currently `1.23` and `1.24`). Examples for common use cases can be found below: diff --git a/go.mod b/go.mod index 84e68aab..de691098 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module oras.land/oras-go/v2 -go 1.22 +go 1.23 require ( github.com/opencontainers/go-digest v1.0.0