Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.24.4

require (
github.com/buger/jsonparser v1.1.1
github.com/google/go-github/v73 v73.0.0
github.com/google/go-github/v75 v75.0.0
github.com/gorilla/mux v1.8.1
golang.org/x/mod v0.25.0
golang.org/x/text v0.26.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ github.com/buger/jsonparser v1.1.1/go.mod h1:6RYKKt7H4d4+iWqouImQ9R2FZql3VbhNgx2
github.com/google/go-cmp v0.5.2/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8=
github.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU=
github.com/google/go-github/v73 v73.0.0 h1:aR+Utnh+Y4mMkS+2qLQwcQ/cF9mOTpdwnzlaw//rG24=
github.com/google/go-github/v73 v73.0.0/go.mod h1:fa6w8+/V+edSU0muqdhCVY7Beh1M8F1IlQPZIANKIYw=
github.com/google/go-github/v75 v75.0.0 h1:k7q8Bvg+W5KxRl9Tjq16a9XEgVY1pwuiG5sIL7435Ic=
github.com/google/go-github/v75 v75.0.0/go.mod h1:H3LUJEA1TCrzuUqtdAQniBNwuKiQIqdGKgBo1/M/uqI=
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/gorilla/mux v1.8.1 h1:TuBL49tXwgrFYWhqrNgrUNEY92u81SPhu7sTdzQEiWY=
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"strings"

"github.com/buger/jsonparser"
"github.com/google/go-github/v73/github"
"github.com/google/go-github/v75/github"

"github.com/migueleliasweb/go-github-mock/src/gen"
"golang.org/x/mod/modfile"
Expand Down
10 changes: 5 additions & 5 deletions src/mock/endpointpattern_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"context"
"testing"

"github.com/google/go-github/v73/github"
"github.com/google/go-github/v75/github"
)

func TestRepoGetContents(t *testing.T) {
Expand Down Expand Up @@ -163,11 +163,11 @@ func TestPatchGitReference(t *testing.T) {
ctx,
"owner",
"repo-name",
&github.Reference{
Ref: github.Ptr("refs/heads/new-branch"),
Object: &github.GitObject{SHA: github.Ptr("fake-sha")},
"refs/heads/new-branch",
github.UpdateRef{
SHA: "fake-sha",
Force: github.Ptr(false),
},
false,
)

if *(ref.Ref) != "refs/heads/new-branch" {
Expand Down
2 changes: 1 addition & 1 deletion src/mock/server_options_external_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"testing"
"time"

"github.com/google/go-github/v73/github"
"github.com/google/go-github/v75/github"
"github.com/migueleliasweb/go-github-mock/src/mock"
)

Expand Down
2 changes: 1 addition & 1 deletion src/mock/server_options_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package mock
import (
"testing"

"github.com/google/go-github/v73/github"
"github.com/google/go-github/v75/github"
"github.com/gorilla/mux"
)

Expand Down
2 changes: 1 addition & 1 deletion src/mock/server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"strings"
"testing"

"github.com/google/go-github/v73/github"
"github.com/google/go-github/v75/github"
)

func TestNewMockedHTTPClient(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion src/mock/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"encoding/json"
"net/http"

"github.com/google/go-github/v73/github"
"github.com/google/go-github/v75/github"
)

// MustMarshal helper function that wraps json.Marshal
Expand Down