diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index 82b8c6a6a44..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: 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 85f0e28ef16..f9317ab0526 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -27,16 +27,16 @@ jobs: shell: bash strategy: matrix: - go-version: [1.x, 1.24.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 # 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 }} diff --git a/example/go.mod b/example/go.mod index 2b8850a9c03..3313fe133bf 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 5c704a2726a..b6410e7e0bb 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 94197707328..aaa3c089d68 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.14.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