From 25c64ed3894454162397a87621ce69201ff514d9 Mon Sep 17 00:00:00 2001 From: Kevin Burke Date: Tue, 22 Jul 2025 08:38:05 -0700 Subject: [PATCH 1/2] go.mod,vendor: update dependencies This change allows us to remove some unused transitive dependencies from go.sum, while bumping the minimum supported version to Go 1.23. --- go.mod | 4 ++-- go.sum | 12 ++---------- .../github.com/kevinburke/rest/restclient/client.go | 2 +- vendor/modules.txt | 4 ++-- 4 files changed, 7 insertions(+), 15 deletions(-) diff --git a/go.mod b/go.mod index 854540f..27d2c9a 100644 --- a/go.mod +++ b/go.mod @@ -1,10 +1,10 @@ module github.com/github-release/github-release -go 1.21 +go 1.23.0 require ( github.com/dustin/go-humanize v1.0.1 - github.com/kevinburke/rest v0.0.0-20240617045629-3ed0ad3487f0 + github.com/kevinburke/rest v0.0.0-20250718180114-1a15e4f2364f github.com/tomnomnom/linkheader v0.0.0-20180905144013-02ca5825eb80 github.com/voxelbrain/goptions v0.0.0-20180630082107-58cddc247ea2 ) diff --git a/go.sum b/go.sum index e4cf00c..874fb47 100644 --- a/go.sum +++ b/go.sum @@ -1,16 +1,8 @@ github.com/dustin/go-humanize v1.0.1 h1:GzkhY7T5VNhEkwH0PVJgjz+fX1rhBrR7pRT3mDkpeCY= github.com/dustin/go-humanize v1.0.1/go.mod h1:Mu1zIs6XwVuF/gI1OepvI0qD18qycQx+mFykh5fBlto= -github.com/go-stack/stack v1.8.1/go.mod h1:dcoOX6HbPZSZptuspn9bctJ+N/CnF5gGygcUP3XYfe4= -github.com/inconshreveable/log15 v3.0.0-testing.5+incompatible/go.mod h1:cOaXtrgN4ScfRrD9Bre7U1thNq5RtJ8ZoP4iXVGRj6o= -github.com/kevinburke/rest v0.0.0-20240617045629-3ed0ad3487f0 h1:qksAIHu0d4vkA0rIePBn+K9eO33RxkUMiceFn3T7lO4= -github.com/kevinburke/rest v0.0.0-20240617045629-3ed0ad3487f0/go.mod h1:dcLMT8KO9krIMJQ4578Lex1Su6ewuJUqEDeQ1nTORug= -github.com/mattn/go-colorable v0.1.13/go.mod h1:7S9/ev0klgBDR4GtXTXX8a3vIGJpMovkB8vQcUbaXHg= -github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM= +github.com/kevinburke/rest v0.0.0-20250718180114-1a15e4f2364f h1:y+inhBsY0ewgXFXCXlxodNxkXdYeU9YuneCYQEnRkmw= +github.com/kevinburke/rest v0.0.0-20250718180114-1a15e4f2364f/go.mod h1:3cBF15uOiTj025Ll5QHLw317EB+e06+AEwyt7oHUubI= github.com/tomnomnom/linkheader v0.0.0-20180905144013-02ca5825eb80 h1:nrZ3ySNYwJbSpD6ce9duiP+QkD3JuLCcWkdaehUS/3Y= github.com/tomnomnom/linkheader v0.0.0-20180905144013-02ca5825eb80/go.mod h1:iFyPdL66DjUD96XmzVL3ZntbzcflLnznH0fr99w5VqE= github.com/voxelbrain/goptions v0.0.0-20180630082107-58cddc247ea2 h1:txplJASvd6b/hrE0s/Ixfpp2cuwH9IO9oZBAN9iYa4A= github.com/voxelbrain/goptions v0.0.0-20180630082107-58cddc247ea2/go.mod h1:DGCIhurYgnLz8J9ga1fMV/fbLDyUvTyrWXVWUIyJon4= -golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.13.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.14.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= -golang.org/x/term v0.13.0/go.mod h1:LTmsnFJwVN6bCy1rVCoS+qHT1HhALEFxKncY3WNNh4U= diff --git a/vendor/github.com/kevinburke/rest/restclient/client.go b/vendor/github.com/kevinburke/rest/restclient/client.go index 914bac0..ca88014 100644 --- a/vendor/github.com/kevinburke/rest/restclient/client.go +++ b/vendor/github.com/kevinburke/rest/restclient/client.go @@ -23,7 +23,7 @@ var JSON UploadType = "application/json" // FormURLEncoded specifies you'd like to upload form-urlencoded data. var FormURLEncoded UploadType = "application/x-www-form-urlencoded" -const Version = "2.9" +const Version = "2.12.0" var ua string diff --git a/vendor/modules.txt b/vendor/modules.txt index 7a58454..2ecbcc9 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -1,8 +1,8 @@ # github.com/dustin/go-humanize v1.0.1 ## explicit; go 1.16 github.com/dustin/go-humanize -# github.com/kevinburke/rest v0.0.0-20240617045629-3ed0ad3487f0 -## explicit; go 1.16 +# github.com/kevinburke/rest v0.0.0-20250718180114-1a15e4f2364f +## explicit; go 1.23.0 github.com/kevinburke/rest/restclient github.com/kevinburke/rest/resterror # github.com/tomnomnom/linkheader v0.0.0-20180905144013-02ca5825eb80 From 07ef271d0c98faca0457d47b4e25e0f4a8942f8b Mon Sep 17 00:00:00 2001 From: Kevin Burke Date: Tue, 22 Jul 2025 08:38:47 -0700 Subject: [PATCH 2/2] .github: use Go 1.23, 1.24 Fixes #132. Fixes #128. --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 64c1315..9226af6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,7 +4,7 @@ jobs: test: strategy: matrix: - go-version: [1.21.x, 1.22.x] + go-version: [1.23.x, 1.24.x] runs-on: ubuntu-latest steps: - name: Install Go