Skip to content

Commit

Permalink
Merge pull request #17 from skos-ninja/update-deps
Browse files Browse the repository at this point in the history
  • Loading branch information
skos-ninja authored Dec 15, 2021
2 parents 51ac73f + 1b2492b commit 46a1b21
Show file tree
Hide file tree
Showing 15 changed files with 38 additions and 103 deletions.
4 changes: 2 additions & 2 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package app
import (
"context"

"github.com/bradleyfalzon/ghinstallation"
"github.com/google/go-github/v35/github"
ghinstallation "github.com/bradleyfalzon/ghinstallation/v2"
"github.com/google/go-github/v41/github"
"github.com/hashicorp/golang-lru/simplelru"
)

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

"github.com/google/go-github/v35/github"
"github.com/google/go-github/v41/github"
)

func createComment(ctx context.Context, client *github.Client, prNum int, repoOwner, repoName, comment string) error {
Expand Down
2 changes: 1 addition & 1 deletion app/create_tag.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"log"
"strings"

"github.com/google/go-github/v35/github"
"github.com/google/go-github/v41/github"
)

func createTag(ctx context.Context, client *github.Client, repoOwner, repoName, commitSHA, version string, prNumber int, impersonateTags bool) error {
Expand Down
2 changes: 1 addition & 1 deletion app/find_version_label.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

"github.com/skos-ninja/github-releaser/pkg/version"

"github.com/google/go-github/v35/github"
"github.com/google/go-github/v41/github"
)

func findVersionLabel(labels []*github.Label, includePre bool) (*version.VersionType, string) {
Expand Down
4 changes: 2 additions & 2 deletions app/get_installation_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"log"
"net/http"

"github.com/bradleyfalzon/ghinstallation"
"github.com/google/go-github/v35/github"
ghinstallation "github.com/bradleyfalzon/ghinstallation/v2"
"github.com/google/go-github/v41/github"
)

type installLruKey string
Expand Down
4 changes: 2 additions & 2 deletions app/get_latest_branch_version.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"sort"
"strings"

"github.com/Masterminds/semver"
"github.com/google/go-github/v35/github"
"github.com/Masterminds/semver/v3"
"github.com/google/go-github/v41/github"
"golang.org/x/sync/errgroup"
)

Expand Down
4 changes: 2 additions & 2 deletions app/get_latest_version.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"sort"
"strings"

"github.com/Masterminds/semver"
"github.com/google/go-github/v35/github"
"github.com/Masterminds/semver/v3"
"github.com/google/go-github/v41/github"
)

func getLatestVersion(ctx context.Context, client *github.Client, repoOwner, repoName string) (string, error) {
Expand Down
2 changes: 1 addition & 1 deletion app/handle_closed.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (

"github.com/skos-ninja/github-releaser/pkg/version"

"github.com/google/go-github/v35/github"
"github.com/google/go-github/v41/github"
)

func (a *app) handleClosed(ctx context.Context, client *github.Client, prEvent *github.PullRequestEvent) error {
Expand Down
2 changes: 1 addition & 1 deletion app/handle_labeled.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (

"github.com/skos-ninja/github-releaser/pkg/version"

"github.com/google/go-github/v35/github"
"github.com/google/go-github/v41/github"
)

func (a *app) handleLabeled(ctx context.Context, client *github.Client, prEvent *github.PullRequestEvent) error {
Expand Down
2 changes: 1 addition & 1 deletion app/handle_webhook.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"context"
"log"

"github.com/google/go-github/v35/github"
"github.com/google/go-github/v41/github"
"github.com/kr/pretty"
)

Expand Down
12 changes: 6 additions & 6 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@ module github.com/skos-ninja/github-releaser
go 1.16

require (
github.com/Masterminds/semver v1.5.0
github.com/bradleyfalzon/ghinstallation v1.1.1
github.com/Masterminds/semver/v3 v3.1.1
github.com/bradleyfalzon/ghinstallation/v2 v2.0.3
github.com/gin-gonic/gin v1.7.7
github.com/go-playground/validator/v10 v10.9.0 // indirect
github.com/google/go-github/v29 v29.0.3 // indirect
github.com/google/go-github/v35 v35.3.0
github.com/google/go-querystring v1.1.0 // indirect
github.com/golang-jwt/jwt/v4 v4.2.0 // indirect
github.com/google/go-github/v39 v39.2.0 // indirect
github.com/google/go-github/v41 v41.0.0
github.com/hashicorp/golang-lru v0.5.4
github.com/kr/pretty v0.3.0
github.com/rogpeppe/go-internal v1.8.1 // indirect
github.com/skos-ninja/config-loader v0.1.0
github.com/skos-ninja/config-loader v0.1.1
github.com/spf13/cobra v1.3.0
github.com/ugorji/go v1.2.6 // indirect
golang.org/x/crypto v0.0.0-20211209193657-4570a0811e8b // indirect
Expand Down
93 changes: 14 additions & 79 deletions go.sum

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import (
"os"
"strings"

"github.com/bradleyfalzon/ghinstallation"
ghinstallation "github.com/bradleyfalzon/ghinstallation/v2"
"github.com/gin-gonic/gin"
"github.com/google/go-github/v35/github"
"github.com/google/go-github/v41/github"
"github.com/skos-ninja/config-loader"
"github.com/spf13/cobra"

Expand Down
2 changes: 1 addition & 1 deletion pkg/version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"fmt"
"strconv"

"github.com/Masterminds/semver"
"github.com/Masterminds/semver/v3"
)

type VersionType string
Expand Down
2 changes: 1 addition & 1 deletion rpc/webhooks.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"net/http"

"github.com/gin-gonic/gin"
"github.com/google/go-github/v35/github"
"github.com/google/go-github/v41/github"
"github.com/skos-ninja/github-releaser/pkg/common"
)

Expand Down

0 comments on commit 46a1b21

Please sign in to comment.