From 4c31203d42c115d66367a54428d7e1e135ca261f Mon Sep 17 00:00:00 2001 From: Jayapriya Pai Date: Tue, 16 Apr 2024 11:31:08 +0530 Subject: [PATCH 1/2] chore: bump go version to 1.22 Signed-off-by: Jayapriya Pai --- go.mod | 2 +- vendor/gopkg.in/yaml.v2/go.mod | 5 ----- vendor/modules.txt | 2 +- 3 files changed, 2 insertions(+), 7 deletions(-) delete mode 100644 vendor/gopkg.in/yaml.v2/go.mod diff --git a/go.mod b/go.mod index adba26e..4545277 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/brancz/gojsontoyaml -go 1.16 +go 1.22 require ( github.com/ghodss/yaml v1.0.0 diff --git a/vendor/gopkg.in/yaml.v2/go.mod b/vendor/gopkg.in/yaml.v2/go.mod deleted file mode 100644 index 2cbb85a..0000000 --- a/vendor/gopkg.in/yaml.v2/go.mod +++ /dev/null @@ -1,5 +0,0 @@ -module gopkg.in/yaml.v2 - -go 1.15 - -require gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 diff --git a/vendor/modules.txt b/vendor/modules.txt index c3b5807..5fbf5b5 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -2,5 +2,5 @@ ## explicit github.com/ghodss/yaml # gopkg.in/yaml.v2 v2.4.0 -## explicit +## explicit; go 1.15 gopkg.in/yaml.v2 From f3251dc3b03a3fd0b27fa033284359c7591d24f4 Mon Sep 17 00:00:00 2001 From: Jayapriya Pai Date: Tue, 16 Apr 2024 11:36:47 +0530 Subject: [PATCH 2/2] .github: upgrade go versions in workflows Signed-off-by: Jayapriya Pai --- .github/workflows/go.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 53089fc..c0b890a 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -13,9 +13,9 @@ jobs: - name: Set up Go uses: actions/setup-go@v2 with: - go-version: 1.16 + go-version: 1.22 - name: GoReleaser Action - uses: goreleaser/goreleaser-action@v2.6.1 + uses: goreleaser/goreleaser-action@v5.0.0 with: args: release --rm-dist env: