From e64b11be878b07197b9008c16b7f2fc181a68c9d Mon Sep 17 00:00:00 2001 From: Glenn Lewis <6598971+gmlewis@users.noreply.github.com> Date: Wed, 11 Feb 2026 19:37:47 -0500 Subject: [PATCH 1/6] chore: Update workflow and tools to use Go 1.26 and 1.25 Signed-off-by: Glenn Lewis <6598971+gmlewis@users.noreply.github.com> --- .github/workflows/tests.yml | 2 +- example/go.mod | 2 +- example/newreposecretwithlibsodium/go.mod | 2 +- go.mod | 2 +- otel/go.mod | 2 +- scrape/go.mod | 2 +- tools/check-structfield-settings/go.mod | 2 +- tools/fmtpercentv/go.mod | 2 +- tools/go.mod | 2 +- tools/sliceofpointers/go.mod | 2 +- tools/structfield/go.mod | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 85f0e28ef16..1ac158ac611 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -27,7 +27,7 @@ jobs: shell: bash strategy: matrix: - go-version: [1.x, 1.24.0] # test with N and the .0 release of N-1 + go-version: [1.x, 1.25.0] # test with N and the .0 release of N-1 platform: [ubuntu-latest] include: # include windows, but only with the latest Go version, since there diff --git a/example/go.mod b/example/go.mod index 1ff85d47370..cbabc873ff5 100644 --- a/example/go.mod +++ b/example/go.mod @@ -1,6 +1,6 @@ module github.com/google/go-github/v82/example -go 1.24.0 +go 1.25.0 require ( github.com/ProtonMail/go-crypto v1.3.0 diff --git a/example/newreposecretwithlibsodium/go.mod b/example/newreposecretwithlibsodium/go.mod index 82523faa2e2..3e66db1c637 100644 --- a/example/newreposecretwithlibsodium/go.mod +++ b/example/newreposecretwithlibsodium/go.mod @@ -1,6 +1,6 @@ module newreposecretwithlibsodium -go 1.24.0 +go 1.25.0 require ( github.com/GoKillers/libsodium-go v0.0.0-20171022220152-dd733721c3cb diff --git a/go.mod b/go.mod index cf7f9f7298e..0cdad1acc8c 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/google/go-github/v82 -go 1.24.0 +go 1.25.0 require ( github.com/google/go-cmp v0.7.0 diff --git a/otel/go.mod b/otel/go.mod index a5df195da0f..bfb3c9f10b4 100644 --- a/otel/go.mod +++ b/otel/go.mod @@ -1,6 +1,6 @@ module github.com/google/go-github/v82/otel -go 1.24.0 +go 1.25.0 require ( github.com/google/go-github/v82 v82.0.0 diff --git a/scrape/go.mod b/scrape/go.mod index 36f5e343d06..ddf30b76c01 100644 --- a/scrape/go.mod +++ b/scrape/go.mod @@ -1,6 +1,6 @@ module github.com/google/go-github/scrape -go 1.24.0 +go 1.25.0 require ( github.com/PuerkitoBio/goquery v1.11.0 diff --git a/tools/check-structfield-settings/go.mod b/tools/check-structfield-settings/go.mod index f593c5ed93a..4066b388e16 100644 --- a/tools/check-structfield-settings/go.mod +++ b/tools/check-structfield-settings/go.mod @@ -1,6 +1,6 @@ module github.com/google/go-github/v82/tools/check-structfield-settings -go 1.24.0 +go 1.25.0 require ( github.com/golangci/plugin-module-register v0.1.1 diff --git a/tools/fmtpercentv/go.mod b/tools/fmtpercentv/go.mod index 900cebaa3cf..6164ce09247 100644 --- a/tools/fmtpercentv/go.mod +++ b/tools/fmtpercentv/go.mod @@ -1,6 +1,6 @@ module tools/fmtpercentv -go 1.24.0 +go 1.25.0 require ( github.com/golangci/plugin-module-register v0.1.1 diff --git a/tools/go.mod b/tools/go.mod index f2a24daa25f..27babaa979b 100644 --- a/tools/go.mod +++ b/tools/go.mod @@ -1,6 +1,6 @@ module tools -go 1.24.0 +go 1.25.0 require ( github.com/alecthomas/kong v1.13.0 diff --git a/tools/sliceofpointers/go.mod b/tools/sliceofpointers/go.mod index 8c927fb4d2b..c4a0584da41 100644 --- a/tools/sliceofpointers/go.mod +++ b/tools/sliceofpointers/go.mod @@ -1,6 +1,6 @@ module tools/sliceofpointers -go 1.24.0 +go 1.25.0 require ( github.com/golangci/plugin-module-register v0.1.1 diff --git a/tools/structfield/go.mod b/tools/structfield/go.mod index 4a48aa02cf4..48ae099ea25 100644 --- a/tools/structfield/go.mod +++ b/tools/structfield/go.mod @@ -1,6 +1,6 @@ module github.com/google/go-github/v82/tools/structfield -go 1.24.0 +go 1.25.0 require ( github.com/golangci/plugin-module-register v0.1.1 From 1c05738ee1fc9d849106f2d294f75915a0ac6508 Mon Sep 17 00:00:00 2001 From: Glenn Lewis <6598971+gmlewis@users.noreply.github.com> Date: Thu, 12 Feb 2026 10:45:33 -0500 Subject: [PATCH 2/6] Update .github/workflows/tests.yml Co-authored-by: Oleksandr Redko --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 1ac158ac611..dbf8abaf759 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -27,7 +27,7 @@ jobs: shell: bash strategy: matrix: - go-version: [1.x, 1.25.0] # test with N and the .0 release of N-1 + go-version: ['stable', 'oldstable'] # test with N and the .0 release of N-1 platform: [ubuntu-latest] include: # include windows, but only with the latest Go version, since there From 95a40c5ab08f23934a06cf001f9d65ed5ded5959 Mon Sep 17 00:00:00 2001 From: Glenn Lewis <6598971+gmlewis@users.noreply.github.com> Date: Fri, 13 Feb 2026 07:13:09 -0500 Subject: [PATCH 3/6] Change 1.x to stable Signed-off-by: Glenn Lewis <6598971+gmlewis@users.noreply.github.com> --- .github/workflows/linter.yml | 2 +- .github/workflows/tests.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index 82b8c6a6a44..ca18112c745 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -11,7 +11,7 @@ jobs: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0 with: - go-version: 1.x + go-version: 'stable' cache-dependency-path: "**/go.sum" - run: script/lint.sh env: diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index dbf8abaf759..0cdd97ab7a6 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -32,11 +32,11 @@ jobs: include: # include windows, but only with the latest Go version, since there # is very little in the library that is platform specific - - go-version: 1.x + - go-version: 'stable' platform: windows-latest # only update test coverage stats with the most recent go version on linux - - go-version: 1.x + - go-version: 'stable' platform: ubuntu-latest update-coverage: true runs-on: ${{ matrix.platform }} From 1bb15fac1e0ea5a06a575b398ab0f2728e043e7c Mon Sep 17 00:00:00 2001 From: Glenn Lewis <6598971+gmlewis@users.noreply.github.com> Date: Fri, 13 Feb 2026 09:41:58 -0500 Subject: [PATCH 4/6] Update .github/workflows/linter.yml Co-authored-by: Steve Hipwell --- .github/workflows/linter.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index ca18112c745..27fc6719566 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -11,7 +11,7 @@ jobs: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0 with: - go-version: 'stable' + go-version: stable cache-dependency-path: "**/go.sum" - run: script/lint.sh env: From 282b759de23b8cba451d7b6b6ab449411ba035f9 Mon Sep 17 00:00:00 2001 From: Glenn Lewis <6598971+gmlewis@users.noreply.github.com> Date: Fri, 13 Feb 2026 09:42:19 -0500 Subject: [PATCH 5/6] Update .github/workflows/tests.yml Co-authored-by: Steve Hipwell --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 0cdd97ab7a6..5051f8085f9 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -27,7 +27,7 @@ jobs: shell: bash strategy: matrix: - go-version: ['stable', 'oldstable'] # test with N and the .0 release of N-1 + go-version: [stable, oldstable] # test with N and the .0 release of N-1 platform: [ubuntu-latest] include: # include windows, but only with the latest Go version, since there From d9a9286e7bf1a859ba74a72ebcdef31664e33419 Mon Sep 17 00:00:00 2001 From: Glenn Lewis <6598971+gmlewis@users.noreply.github.com> Date: Fri, 13 Feb 2026 11:58:41 -0500 Subject: [PATCH 6/6] Fix two other quoted locations Signed-off-by: Glenn Lewis <6598971+gmlewis@users.noreply.github.com> --- .github/workflows/tests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 5051f8085f9..f9317ab0526 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -32,11 +32,11 @@ jobs: include: # include windows, but only with the latest Go version, since there # is very little in the library that is platform specific - - go-version: 'stable' + - go-version: stable platform: windows-latest # only update test coverage stats with the most recent go version on linux - - go-version: 'stable' + - go-version: stable platform: ubuntu-latest update-coverage: true runs-on: ${{ matrix.platform }}