From fe527f0f0d4ade7282eea0da7f101e546783964d Mon Sep 17 00:00:00 2001 From: Andy Grunwald Date: Sun, 26 Feb 2023 19:25:36 +0100 Subject: [PATCH] Update go-github from v48 to v50 --- examples/go.sum | 2 -- github/context.go | 2 +- github/context_test.go | 2 +- github/login.go | 2 +- github/login_test.go | 2 +- go.mod | 2 +- go.sum | 6 ++---- go.work.sum | 2 ++ 8 files changed, 9 insertions(+), 11 deletions(-) diff --git a/examples/go.sum b/examples/go.sum index a485660..477a193 100644 --- a/examples/go.sum +++ b/examples/go.sum @@ -81,8 +81,6 @@ go.opencensus.io v0.24.0 h1:y73uSU6J157QMP2kn2r30vwW1A2W2WFwSCGnAVxeaD0= go.opencensus.io v0.24.0/go.mod h1:vNK8G9p7aAivkbmorf4v+7Hgx+Zs0yY+0fOtgBfjQKo= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= -golang.org/x/crypto v0.0.0-20210817164053-32db794688a5 h1:HWj/xjIHfjYU5nVXpTM0s39J9CbLn7Cc5a7IC5rwsMQ= -golang.org/x/crypto v0.0.0-20210817164053-32db794688a5/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= golang.org/x/crypto v0.6.0 h1:qfktjS5LUO+fFKeJXZ+ikTRijMmljikvG68fpMMruSc= golang.org/x/crypto v0.6.0/go.mod h1:OFC/31mSvZgRz0V1QTNCzfAI1aIRzbiufJtkMIlEp58= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= diff --git a/github/context.go b/github/context.go index 6196966..4aab1b3 100644 --- a/github/context.go +++ b/github/context.go @@ -4,7 +4,7 @@ import ( "context" "fmt" - "github.com/google/go-github/v48/github" + "github.com/google/go-github/v50/github" ) // unexported key type prevents collisions diff --git a/github/context_test.go b/github/context_test.go index a948082..f2eb1cd 100644 --- a/github/context_test.go +++ b/github/context_test.go @@ -4,7 +4,7 @@ import ( "context" "testing" - "github.com/google/go-github/v48/github" + "github.com/google/go-github/v50/github" "github.com/stretchr/testify/assert" ) diff --git a/github/login.go b/github/login.go index 28af21a..cca6f6e 100644 --- a/github/login.go +++ b/github/login.go @@ -8,7 +8,7 @@ import ( "github.com/dghubble/gologin/v2" oauth2Login "github.com/dghubble/gologin/v2/oauth2" - "github.com/google/go-github/v48/github" + "github.com/google/go-github/v50/github" "golang.org/x/oauth2" ) diff --git a/github/login_test.go b/github/login_test.go index 0e56762..4834d23 100644 --- a/github/login_test.go +++ b/github/login_test.go @@ -10,7 +10,7 @@ import ( "github.com/dghubble/gologin/v2" oauth2Login "github.com/dghubble/gologin/v2/oauth2" "github.com/dghubble/gologin/v2/testutils" - "github.com/google/go-github/v48/github" + "github.com/google/go-github/v50/github" "github.com/stretchr/testify/assert" "golang.org/x/oauth2" ) diff --git a/go.mod b/go.mod index 18bf21c..e80677b 100644 --- a/go.mod +++ b/go.mod @@ -6,7 +6,7 @@ require ( github.com/dghubble/go-twitter v0.0.0-20221104224141-912508c3888b github.com/dghubble/oauth1 v0.7.2 github.com/dghubble/sling v1.4.1 - github.com/google/go-github/v48 v48.2.0 + github.com/google/go-github/v50 v50.1.0 github.com/stretchr/testify v1.8.1 golang.org/x/oauth2 v0.5.0 google.golang.org/api v0.110.0 diff --git a/go.sum b/go.sum index d663756..2e4c80f 100644 --- a/go.sum +++ b/go.sum @@ -50,8 +50,8 @@ github.com/google/go-cmp v0.5.2/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/ github.com/google/go-cmp v0.5.3/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38= -github.com/google/go-github/v48 v48.2.0 h1:68puzySE6WqUY9KWmpOsDEQfDZsso98rT6pZcz9HqcE= -github.com/google/go-github/v48 v48.2.0/go.mod h1:dDlehKBDo850ZPvCTK0sEqTCVWcrGl2LcDiajkYi89Y= +github.com/google/go-github/v50 v50.1.0 h1:hMUpkZjklC5GJ+c3GquSqOP/T4BNsB7XohaPhtMOzRk= +github.com/google/go-github/v50 v50.1.0/go.mod h1:Ev4Tre8QoKiolvbpOSG3FIi4Mlon3S2Nt9W5JYqKiwA= 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/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= @@ -75,8 +75,6 @@ go.opencensus.io v0.24.0 h1:y73uSU6J157QMP2kn2r30vwW1A2W2WFwSCGnAVxeaD0= go.opencensus.io v0.24.0/go.mod h1:vNK8G9p7aAivkbmorf4v+7Hgx+Zs0yY+0fOtgBfjQKo= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= -golang.org/x/crypto v0.0.0-20210817164053-32db794688a5 h1:HWj/xjIHfjYU5nVXpTM0s39J9CbLn7Cc5a7IC5rwsMQ= -golang.org/x/crypto v0.0.0-20210817164053-32db794688a5/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= golang.org/x/crypto v0.6.0 h1:qfktjS5LUO+fFKeJXZ+ikTRijMmljikvG68fpMMruSc= golang.org/x/crypto v0.6.0/go.mod h1:OFC/31mSvZgRz0V1QTNCzfAI1aIRzbiufJtkMIlEp58= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= diff --git a/go.work.sum b/go.work.sum index 7ce2465..5ff0e20 100644 --- a/go.work.sum +++ b/go.work.sum @@ -209,6 +209,8 @@ github.com/google/go-cmp v0.5.6/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/ github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= +github.com/google/go-github/v50 v50.1.0 h1:hMUpkZjklC5GJ+c3GquSqOP/T4BNsB7XohaPhtMOzRk= +github.com/google/go-github/v50 v50.1.0/go.mod h1:Ev4Tre8QoKiolvbpOSG3FIi4Mlon3S2Nt9W5JYqKiwA= github.com/google/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs= github.com/google/martian/v3 v3.0.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0= github.com/google/martian/v3 v3.2.1/go.mod h1:oBOf6HBosgwRXnUGWUB05QECsc6uvmMiJ3+6W4l/CUk=