Skip to content

Commit b616ce7

Browse files
authored
Merge pull request #8 from candiepih/feat-bump-deps
chore: bump dependencies
2 parents 56a5b99 + d7b2d97 commit b616ce7

File tree

4 files changed

+16
-11
lines changed

4 files changed

+16
-11
lines changed

auth.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import (
1414
"time"
1515

1616
jwt "github.com/golang-jwt/jwt/v5"
17-
"github.com/google/go-github/v64/github"
17+
"github.com/google/go-github/v69/github"
1818
"golang.org/x/oauth2"
1919
)
2020

auth_test.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
"testing"
1212
"time"
1313

14-
"github.com/google/go-github/v64/github"
14+
"github.com/google/go-github/v69/github"
1515
"github.com/migueleliasweb/go-github-mock/src/mock"
1616
"golang.org/x/oauth2"
1717
)
@@ -73,17 +73,17 @@ func Test_installationTokenSource_Token(t *testing.T) {
7373
mock.WithRequestMatch(
7474
mock.PostAppInstallationsAccessTokensByInstallationId,
7575
github.InstallationToken{
76-
Token: github.String("mocked-installation-token"),
76+
Token: github.Ptr("mocked-installation-token"),
7777
ExpiresAt: &github.Timestamp{
7878
Time: expiration,
7979
},
8080
Permissions: &github.InstallationPermissions{
81-
PullRequests: github.String("read"),
81+
PullRequests: github.Ptr("read"),
8282
},
8383
Repositories: []*github.Repository{
8484
{
85-
Name: github.String("mocked-repo-1"),
86-
ID: github.Int64(1),
85+
Name: github.Ptr("mocked-repo-1"),
86+
ID: github.Ptr(int64(1)),
8787
},
8888
},
8989
},

go.mod

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,17 @@
11
module github.com/jferrl/go-githubauth
22

3-
go 1.23
3+
go 1.23.0
4+
5+
toolchain go1.24.1
46

57
require (
68
github.com/golang-jwt/jwt/v5 v5.2.1
7-
github.com/google/go-github/v64 v64.0.0
8-
golang.org/x/oauth2 v0.23.0
9+
github.com/google/go-github/v69 v69.0.0
10+
golang.org/x/oauth2 v0.28.0
911
)
1012

1113
require (
14+
github.com/google/go-github/v64 v64.0.0 // indirect
1215
github.com/gorilla/mux v1.8.1 // indirect
1316
golang.org/x/time v0.6.0 // indirect
1417
)

go.sum

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,16 @@ github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI=
55
github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
66
github.com/google/go-github/v64 v64.0.0 h1:4G61sozmY3eiPAjjoOHponXDBONm+utovTKbyUb2Qdg=
77
github.com/google/go-github/v64 v64.0.0/go.mod h1:xB3vqMQNdHzilXBiO2I+M7iEFtHf+DP/omBOv6tQzVo=
8+
github.com/google/go-github/v69 v69.0.0 h1:YnFvZ3pEIZF8KHmI8xyQQe3mYACdkhnaTV2hr7CP2/w=
9+
github.com/google/go-github/v69 v69.0.0/go.mod h1:xne4jymxLR6Uj9b7J7PyTpkMYstEMMwGZa0Aehh1azM=
810
github.com/google/go-querystring v1.1.0 h1:AnCroh3fv4ZBgVIf1Iwtovgjaw/GiKJo8M8yD/fhyJ8=
911
github.com/google/go-querystring v1.1.0/go.mod h1:Kcdr2DB4koayq7X8pmAG4sNG59So17icRSOU623lUBU=
1012
github.com/gorilla/mux v1.8.1 h1:TuBL49tXwgrFYWhqrNgrUNEY92u81SPhu7sTdzQEiWY=
1113
github.com/gorilla/mux v1.8.1/go.mod h1:AKf9I4AEqPTmMytcMc0KkNouC66V3BtZ4qD5fmWSiMQ=
1214
github.com/migueleliasweb/go-github-mock v1.0.1 h1:amLEECVny28RCD1ElALUpQxrAimamznkg9rN2O7t934=
1315
github.com/migueleliasweb/go-github-mock v1.0.1/go.mod h1:8PJ7MpMoIiCBBNpuNmvndHm0QicjsE+hjex1yMGmjYQ=
14-
golang.org/x/oauth2 v0.23.0 h1:PbgcYx2W7i4LvjJWEbf0ngHV6qJYr86PkAV3bXdLEbs=
15-
golang.org/x/oauth2 v0.23.0/go.mod h1:XYTD2NtWslqkgxebSiOHnXEap4TF09sJSc7H1sXbhtI=
16+
golang.org/x/oauth2 v0.28.0 h1:CrgCKl8PPAVtLnU3c+EDw6x11699EWlsDeWNWKdIOkc=
17+
golang.org/x/oauth2 v0.28.0/go.mod h1:onh5ek6nERTohokkhCD/y2cV4Do3fxFHFuAejCkRWT8=
1618
golang.org/x/time v0.6.0 h1:eTDhh4ZXt5Qf0augr54TN6suAUudPcawVZeIAPU7D4U=
1719
golang.org/x/time v0.6.0/go.mod h1:3BpzKBy/shNhVucY/MWOyx10tF3SFh9QdLuxbVysPQM=
1820
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=

0 commit comments

Comments
 (0)