From 1dcbb57ae74b77635ed2776551a545076003aae1 Mon Sep 17 00:00:00 2001 From: "Lixia (Sylvia) Lei" Date: Tue, 30 Apr 2024 15:18:03 +0800 Subject: [PATCH] build: upgrade go version to v1.21 Signed-off-by: Lixia (Sylvia) Lei --- .github/workflows/build-pr.yml | 2 +- .github/workflows/build.yml | 2 +- go.mod | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-pr.yml b/.github/workflows/build-pr.yml index fb6932b6..9b64aab3 100644 --- a/.github/workflows/build-pr.yml +++ b/.github/workflows/build-pr.yml @@ -14,7 +14,7 @@ jobs: - name: setup go environment uses: actions/setup-go@v1 with: - go-version: '1.20.14' + go-version: '1.21' - name: run unit tests run: make test - name: run acceptance tests diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 657dd307..1140ad63 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,7 +13,7 @@ jobs: - name: setup go environment uses: actions/setup-go@v1 with: - go-version: '1.20.14' + go-version: '1.21' - name: run unit tests run: make test - name: run acceptance tests diff --git a/go.mod b/go.mod index 0a569085..3bd21735 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module oras.land/oras-go -go 1.20 +go 1.21 require ( github.com/containerd/containerd v1.7.6