From bb5df1c18a7bcbe0793f49921c8c2928ae01e646 Mon Sep 17 00:00:00 2001 From: "Lixia (Sylvia) Lei" Date: Tue, 16 Jul 2024 15:34:30 +0800 Subject: [PATCH] build(go): upgrade go version to v1.22 --- .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 9b64aab3..4f6c33f3 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.21' + go-version: '1.22' - name: run unit tests run: make test - name: run acceptance tests diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1140ad63..b46b17cb 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.21' + go-version: '1.22' - name: run unit tests run: make test - name: run acceptance tests diff --git a/go.mod b/go.mod index b17542f2..82710ba7 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module oras.land/oras-go -go 1.21 +go 1.22 require ( github.com/containerd/containerd v1.7.19