diff --git a/go.mod b/go.mod index d3848434..20fa1945 100644 --- a/go.mod +++ b/go.mod @@ -1,9 +1,11 @@ module github.com/aquaproj/user-list -go 1.20 +go 1.21 + +toolchain go1.22.4 require ( - github.com/google/go-github/v58 v58.0.0 + github.com/google/go-github/v62 v62.0.0 github.com/rs/zerolog v1.33.0 github.com/shurcooL/githubv4 v0.0.0-20240429030203-be2daab69064 golang.org/x/oauth2 v0.21.0 diff --git a/go.sum b/go.sum index e5e19ac0..f610f93f 100644 --- a/go.sum +++ b/go.sum @@ -2,8 +2,9 @@ github.com/coreos/go-systemd/v22 v22.5.0/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSV github.com/godbus/dbus/v5 v5.0.4/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA= github.com/google/go-cmp v0.5.2/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= -github.com/google/go-github/v58 v58.0.0 h1:Una7GGERlF/37XfkPwpzYJe0Vp4dt2k1kCjlxwjIvzw= -github.com/google/go-github/v58 v58.0.0/go.mod h1:k4hxDKEfoWpSqFlc8LTpGd9fu2KrV1YAa6Hi6FmDNY4= +github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= +github.com/google/go-github/v62 v62.0.0 h1:/6mGCaRywZz9MuHyw9gD1CwsbmBX8GWsbFkwMmHdhl4= +github.com/google/go-github/v62 v62.0.0/go.mod h1:EMxeUqGJq2xRu9DYBMwel/mr7kZrzUOfQmmpYrZn2a4= github.com/google/go-querystring v1.1.0 h1:AnCroh3fv4ZBgVIf1Iwtovgjaw/GiKJo8M8yD/fhyJ8= github.com/google/go-querystring v1.1.0/go.mod h1:Kcdr2DB4koayq7X8pmAG4sNG59So17icRSOU623lUBU= github.com/mattn/go-colorable v0.1.13 h1:fFA4WZxdEF4tXPZVKMLwD8oUnCTTo08duU7wxecdEvA= diff --git a/pkg/controller/github.go b/pkg/controller/github.go index 45af9f02..d0a885dc 100644 --- a/pkg/controller/github.go +++ b/pkg/controller/github.go @@ -8,7 +8,7 @@ import ( "os" "time" - "github.com/google/go-github/v58/github" + "github.com/google/go-github/v62/github" "github.com/rs/zerolog" "github.com/shurcooL/githubv4" "golang.org/x/oauth2"