Skip to content

Commit

Permalink
Merge pull request #352 from mergestat/upgrade-go-deps
Browse files Browse the repository at this point in the history
chore: upgrade some go dependencies
  • Loading branch information
patrickdevivo authored Dec 23, 2022
2 parents 3a908ac + 55104a0 commit 03f7cb6
Show file tree
Hide file tree
Showing 6 changed files with 96 additions and 121 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ jobs:
asset_name: mergestat-macos-amd64

steps:
- name: Set up Go 1.17
- name: Set up Go 1.19
uses: actions/setup-go@v3
with:
go-version: 1.17.5
go-version: 1.19.4
id: go

- name: Check out source
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:
asset_name: mergestat-macos-amd64

steps:
- name: Set up Go 1.17
- name: Set up Go 1.19
uses: actions/setup-go@v3
with:
go-version: 1.17.5
go-version: 1.19.4
id: go

- name: Check out source
Expand Down
2 changes: 1 addition & 1 deletion cmd/summarize_blame.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ Use '%' to match all file paths or as a wildcard (e.g. '%.go' for all .go files)

// check if output is a terminal (https://rosettacode.org/wiki/Check_output_device_is_a_terminal#Go)
if fileInfo, _ := os.Stdout.Stat(); (fileInfo.Mode() & os.ModeCharDevice) != 0 {
if err := tea.NewProgram(ui).Start(); err != nil {
if _, err := tea.NewProgram(ui).Run(); err != nil {
handleExitError(err)
}
} else {
Expand Down
2 changes: 1 addition & 1 deletion cmd/summarize_commits.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ Read more here: https://sqlite.org/lang_expr.html#the_like_glob_regexp_and_match

// check if output is a terminal (https://rosettacode.org/wiki/Check_output_device_is_a_terminal#Go)
if fileInfo, _ := os.Stdout.Stat(); (fileInfo.Mode() & os.ModeCharDevice) != 0 {
if err := tea.NewProgram(ui).Start(); err != nil {
if _, err := tea.NewProgram(ui).Run(); err != nil {
handleExitError(err)
}
} else {
Expand Down
43 changes: 22 additions & 21 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ require (
github.com/DATA-DOG/go-sqlmock v1.5.0
github.com/augmentable-dev/vtab v0.0.0-20221005151137-0ff49e3f5413
github.com/charmbracelet/bubbles v0.14.0
github.com/charmbracelet/bubbletea v0.22.1
github.com/charmbracelet/bubbletea v0.23.1
github.com/charmbracelet/lipgloss v0.6.0
github.com/clbanning/mxj/v2 v2.5.6
github.com/clbanning/mxj/v2 v2.5.7
github.com/dnaeon/go-vcr/v2 v2.0.1
github.com/ghodss/yaml v1.0.0
github.com/go-enry/go-enry/v2 v2.8.3
github.com/go-git/go-git/v5 v5.4.2
github.com/go-git/go-git/v5 v5.5.1
github.com/jedib0t/go-pretty v4.3.0+incompatible
github.com/jmoiron/sqlx v1.3.5
github.com/lib/pq v1.10.7
Expand All @@ -22,24 +22,24 @@ require (
github.com/mergestat/timediff v0.0.3
github.com/pkg/errors v0.9.1
github.com/rs/zerolog v1.28.0
github.com/shurcooL/githubv4 v0.0.0-20221126192849-0b5c4c7994eb
github.com/shurcooL/githubv4 v0.0.0-20221203213311-70889c5dac07
github.com/shurcooL/graphql v0.0.0-20220606043923-3cf50f8a0a29
github.com/spf13/cobra v1.6.1
go.riyazali.net/sqlite v0.0.0-20221028101729-bd9e30b2936b
golang.org/x/mod v0.7.0
golang.org/x/oauth2 v0.1.0
golang.org/x/term v0.1.0
golang.org/x/text v0.4.0
golang.org/x/time v0.2.0
golang.org/x/oauth2 v0.3.0
golang.org/x/term v0.3.0
golang.org/x/text v0.5.0
golang.org/x/time v0.3.0
)

require (
github.com/Microsoft/go-winio v0.6.0 // indirect
github.com/ProtonMail/go-crypto v0.0.0-20220930113650-c6815a8c17ad // indirect
github.com/ProtonMail/go-crypto v0.0.0-20221026131551-cf6655e29de4 // indirect
github.com/acomagu/bufpipe v1.0.3 // indirect
github.com/asaskevich/govalidator v0.0.0-20210307081110-f21760c49a8d // indirect
github.com/aymanbagabas/go-osc52 v1.0.3 // indirect
github.com/cloudflare/circl v1.2.0 // indirect
github.com/aymanbagabas/go-osc52 v1.2.1 // indirect
github.com/cloudflare/circl v1.3.1 // indirect
github.com/containerd/console v1.0.3 // indirect
github.com/emirpasic/gods v1.18.1 // indirect
github.com/go-enry/go-oniguruma v1.2.1 // indirect
Expand All @@ -50,7 +50,7 @@ require (
github.com/golang/protobuf v1.5.2 // indirect
github.com/google/uuid v1.1.2 // indirect
github.com/imdario/mergo v0.3.13 // indirect
github.com/inconshreveable/mousetrap v1.0.1 // indirect
github.com/inconshreveable/mousetrap v1.1.0 // indirect
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect
github.com/kevinburke/ssh_config v1.2.0 // indirect
github.com/lucasb-eyer/go-colorful v1.2.0 // indirect
Expand All @@ -59,22 +59,23 @@ require (
github.com/mattn/go-localereader v0.0.1 // indirect
github.com/mattn/go-pointer v0.0.1 // indirect
github.com/mattn/go-runewidth v0.0.14 // indirect
github.com/mitchellh/go-homedir v1.1.0 // indirect
github.com/mitchellh/mapstructure v1.5.0 // indirect
github.com/muesli/ansi v0.0.0-20211031195517-c9f0611b6c70 // indirect
github.com/muesli/ansi v0.0.0-20221106050444-61f0cd9a192a // indirect
github.com/muesli/cancelreader v0.2.2 // indirect
github.com/muesli/reflow v0.3.0 // indirect
github.com/muesli/termenv v0.13.0 // indirect
github.com/oklog/ulid v1.3.1 // indirect
github.com/rivo/uniseg v0.2.0 // indirect
github.com/pjbgf/sha1cd v0.2.3 // indirect
github.com/rivo/uniseg v0.4.3 // indirect
github.com/sergi/go-diff v1.2.0 // indirect
github.com/skeema/knownhosts v1.1.0 // indirect
github.com/spf13/pflag v1.0.5 // indirect
github.com/xanzy/ssh-agent v0.3.2 // indirect
go.mongodb.org/mongo-driver v1.10.3 // indirect
golang.org/x/crypto v0.1.0 // indirect
golang.org/x/net v0.1.0 // indirect
golang.org/x/sys v0.1.0 // indirect
golang.org/x/tools v0.1.12 // indirect
github.com/xanzy/ssh-agent v0.3.3 // indirect
go.mongodb.org/mongo-driver v1.11.1 // indirect
golang.org/x/crypto v0.4.0 // indirect
golang.org/x/net v0.4.0 // indirect
golang.org/x/sys v0.3.0 // indirect
golang.org/x/tools v0.4.0 // indirect
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/protobuf v1.28.1 // indirect
gopkg.in/warnings.v0 v0.1.2 // indirect
Expand Down
Loading

0 comments on commit 03f7cb6

Please sign in to comment.