diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 64175585..3a50a6ce 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -24,7 +24,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - go-version: [1.18, 1.19] + go-version: ['1.19', '1.20'] fail-fast: true steps: - name: Checkout diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index ed16696a..15e977ff 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -31,7 +31,7 @@ jobs: security-events: write strategy: matrix: - go-version: [1.18, 1.19] + go-version: ['1.19', '1.20'] fail-fast: false steps: - name: Checkout repository diff --git a/go.mod b/go.mod index bd5d1cf1..a95501e2 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module oras.land/oras-go/v2 -go 1.18 +go 1.19 require ( github.com/opencontainers/go-digest v1.0.0