From b2b834d4992d98896e417b88bdf65162176facb3 Mon Sep 17 00:00:00 2001 From: Patrick Zheng Date: Mon, 26 Aug 2024 17:31:48 +0800 Subject: [PATCH 1/4] upgraded to golang v1.23 Signed-off-by: Patrick Zheng --- .github/workflows/build.yml | 2 +- .github/workflows/codeql.yml | 2 +- .github/workflows/release-github.yml | 2 +- go.mod | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a923703e9..a53ff7df9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -27,7 +27,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - go-version: ['1.22'] + go-version: ['1.23'] fail-fast: true steps: - name: Set up Go ${{ matrix.go-version }} diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 2d8a9e72f..e447cd47f 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -38,7 +38,7 @@ jobs: security-events: write strategy: matrix: - go-version: ['1.22'] + go-version: ['1.23'] fail-fast: false steps: - name: Checkout repository diff --git a/.github/workflows/release-github.yml b/.github/workflows/release-github.yml index fee700216..eaa77dc0e 100644 --- a/.github/workflows/release-github.yml +++ b/.github/workflows/release-github.yml @@ -29,7 +29,7 @@ jobs: runs-on: ubuntu-20.04 strategy: matrix: - go-version: ['1.22'] + go-version: ['1.23'] fail-fast: true steps: - name: Set up Go ${{ matrix.go-version }} diff --git a/go.mod b/go.mod index 17db29aa0..983e67ca3 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/notaryproject/notation -go 1.22 +go 1.23 require ( github.com/notaryproject/notation-core-go v1.1.0-rc.1 From 8cb5711831215ca80bd0c3b5c9595c466aede31c Mon Sep 17 00:00:00 2001 From: Patrick Zheng Date: Mon, 26 Aug 2024 17:34:31 +0800 Subject: [PATCH 2/4] upgraded golang version in e2e test Signed-off-by: Patrick Zheng --- test/e2e/go.mod | 2 +- test/e2e/plugin/go.mod | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/e2e/go.mod b/test/e2e/go.mod index 6ca597d2e..d46307637 100644 --- a/test/e2e/go.mod +++ b/test/e2e/go.mod @@ -1,6 +1,6 @@ module github.com/notaryproject/notation/test/e2e -go 1.21 +go 1.22 require ( github.com/notaryproject/notation-core-go v1.1.0-rc.1 diff --git a/test/e2e/plugin/go.mod b/test/e2e/plugin/go.mod index 76f2cd502..9cae59048 100644 --- a/test/e2e/plugin/go.mod +++ b/test/e2e/plugin/go.mod @@ -1,6 +1,6 @@ module github.com/notaryproject/notation/test/e2e/plugin -go 1.21 +go 1.22 require ( github.com/golang-jwt/jwt v3.2.2+incompatible From 7afc4e984738ca5a3e216283105eb2dd0d3b29cc Mon Sep 17 00:00:00 2001 From: Patrick Zheng Date: Tue, 27 Aug 2024 08:02:56 +0800 Subject: [PATCH 3/4] upgrade golang to v1.23 Signed-off-by: Patrick Zheng --- test/e2e/go.mod | 2 +- test/e2e/plugin/go.mod | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/e2e/go.mod b/test/e2e/go.mod index d46307637..b2074894b 100644 --- a/test/e2e/go.mod +++ b/test/e2e/go.mod @@ -1,6 +1,6 @@ module github.com/notaryproject/notation/test/e2e -go 1.22 +go 1.23 require ( github.com/notaryproject/notation-core-go v1.1.0-rc.1 diff --git a/test/e2e/plugin/go.mod b/test/e2e/plugin/go.mod index 9cae59048..cde976364 100644 --- a/test/e2e/plugin/go.mod +++ b/test/e2e/plugin/go.mod @@ -1,6 +1,6 @@ module github.com/notaryproject/notation/test/e2e/plugin -go 1.22 +go 1.23 require ( github.com/golang-jwt/jwt v3.2.2+incompatible From a3d57810a9b8703854da2a2ca17c43d4f71ccd71 Mon Sep 17 00:00:00 2001 From: Patrick Zheng Date: Tue, 27 Aug 2024 08:33:40 +0800 Subject: [PATCH 4/4] update Signed-off-by: Patrick Zheng --- building.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/building.md b/building.md index 34e6222a9..93e145be2 100644 --- a/building.md +++ b/building.md @@ -4,7 +4,7 @@ The notation repo contains the following: - `notation` - A CLI for signing and verifying artifacts with Notation -Building above binaries require [golang](https://golang.org/dl/) with version `>= 1.22`. +Building above binaries require [golang](https://golang.org/dl/) with version `>= 1.23`. ## Windows with WSL or Linux