From 8c6ab19a6a6137cbb55c037203ed0a679c55678d Mon Sep 17 00:00:00 2001 From: Brandon Palm Date: Wed, 22 Feb 2023 12:37:41 -0600 Subject: [PATCH] Upgrade Go to v1.20.1 (#78) --- .github/workflows/merge.yml | 2 +- .github/workflows/pre-main.yml | 2 +- README.md | 2 +- go.mod | 2 +- pkg/claim/schema.go | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/merge.yml b/.github/workflows/merge.yml index d9adac5..9c85daa 100644 --- a/.github/workflows/merge.yml +++ b/.github/workflows/merge.yml @@ -15,7 +15,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v3 with: - go-version: 1.19.6 + go-version: 1.20.1 - name: Check out code into the Go module directory uses: actions/checkout@v3 diff --git a/.github/workflows/pre-main.yml b/.github/workflows/pre-main.yml index 6c1e0ea..b908f72 100644 --- a/.github/workflows/pre-main.yml +++ b/.github/workflows/pre-main.yml @@ -17,7 +17,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v3 with: - go-version: 1.19.6 + go-version: 1.20.1 - name: Check out code into the Go module directory uses: actions/checkout@v3 diff --git a/README.md b/README.md index e291537..90fad84 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ At a minimum, the following dependencies must be installed to work with the GoLa Dependency|Minimum Version ---|--- -[GoLang](https://golang.org/dl/)|1.19 +[GoLang](https://golang.org/dl/)|1.20 [golangci-lint](https://golangci-lint.run/usage/install/)|1.51.0 ## Modifying the claim schema diff --git a/go.mod b/go.mod index ea918f6..47d68f8 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/test-network-function/test-network-function-claim -go 1.19 +go 1.20 require ( github.com/a-h/generate v0.0.0-20220105161013-96c14dfdfb60 diff --git a/pkg/claim/schema.go b/pkg/claim/schema.go index e1fd475..8b5eabc 100644 --- a/pkg/claim/schema.go +++ b/pkg/claim/schema.go @@ -11,7 +11,7 @@ // Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // -// Code generated by `test-network-function-claim/cmd/generate/generate.go` on: 2023-02-09 14:03:37.777584 -0600 CST m=+0.001697460 +// Code generated by `test-network-function-claim/cmd/generate/generate.go` on: 2023-02-22 11:19:10.892144 -0600 CST m=+0.002102455 // // `https://github.com/a-h/generate` provides a generic set of interfaces to convert JSON schema into // workable GoLang struct implementations. However, the code generator is limited and does not allow