From d54f32b2983df3d1746b35b5ac9fe68be55f09a6 Mon Sep 17 00:00:00 2001 From: Asmit Malakannawar <81866614+Asmit2952@users.noreply.github.com> Date: Mon, 13 Feb 2023 21:11:30 +0530 Subject: [PATCH] feat: update go support window to [1.19, 1.20] (#442) Update Go support window to [1.19, 1.20] Fixes: #425 Signed-off-by: Asmit2952 --- .github/workflows/build.yml | 2 +- .github/workflows/codeql-analysis.yml | 2 +- go.mod | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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