Skip to content

Commit

Permalink
fix: update libs and golang
Browse files Browse the repository at this point in the history
  • Loading branch information
isindir committed Sep 10, 2023
1 parent be091d9 commit d4637b6
Show file tree
Hide file tree
Showing 8 changed files with 1,545 additions and 237 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/go.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.20.4"
go-version: "1.21.1"
id: go

- name: Install GoReleaser
uses: goreleaser/goreleaser-action@v4
with:
version: v1.18.2
version: v1.20.0
install-only: true

- name: Check out code into the Go module directory
Expand Down Expand Up @@ -56,18 +56,19 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.20.4"
go-version: "1.21.1"
id: go

- name: Install GoReleaser
uses: goreleaser/goreleaser-action@v4
with:
version: v1.18.2
version: v1.20.0
install-only: true

- name: Install svu
run: |
curl -L https://github.com/caarlos0/svu/releases/download/v1.10.2/svu_1.10.2_linux_amd64.tar.gz | sudo tar -C /usr/local/bin/ -xz -f - svu
# https://github.com/caarlos0/svu/releases
curl -L https://github.com/caarlos0/svu/releases/download/v1.11.0/svu_1.11.0_linux_amd64.tar.gz | sudo tar -C /usr/local/bin/ -xz -f - svu
- name: Check out code into the Go module directory
uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ builds:
- "-s -w -X github.com/isindir/git-get/version.Version=v{{.Version}} -X github.com/isindir/git-get/version.Commit={{.ShortCommit}} -X github.com/isindir/git-get/version.Time={{.CommitDate}}"
brews:
- name: git-get
tap:
repository:
owner: isindir
name: homebrew-git-get
branch: master
Expand Down
6 changes: 3 additions & 3 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# UPDATE_HERE
# https://golang.org/dl/
golang 1.20.4
golang 1.21.1
# https://github.com/goreleaser/goreleaser/releases
goreleaser 1.18.2
goreleaser 1.20.0
# https://github.com/vektra/mockery/releases
mockery 2.28.1
mockery 2.33.2
11 changes: 5 additions & 6 deletions exec/mocks/ShellRunnerI.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion github/github.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import (
"fmt"
"os"

"github.com/google/go-github/v52/github"
"github.com/google/go-github/v55/github"
log "github.com/sirupsen/logrus"
"golang.org/x/net/context"
"golang.org/x/oauth2"
Expand Down
191 changes: 0 additions & 191 deletions gitlab/mocks/GitGetGitlabI.go

This file was deleted.

26 changes: 14 additions & 12 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,24 +1,26 @@
module github.com/isindir/git-get

// UPDATE_HERE
go 1.20
// https://go.dev/dl/
go 1.21

require (
github.com/fatih/color v1.15.0
github.com/google/go-github/v52 v52.0.0
github.com/ktrysmt/go-bitbucket v0.9.58
github.com/sirupsen/logrus v1.9.0
// https://github.com/google/go-github/releases
github.com/google/go-github/v55 v55.0.0
github.com/ktrysmt/go-bitbucket v0.9.66
github.com/sirupsen/logrus v1.9.3
github.com/spf13/cobra v1.7.0
github.com/stretchr/testify v1.8.3
github.com/xanzy/go-gitlab v0.83.0
golang.org/x/net v0.10.0
golang.org/x/oauth2 v0.8.0
github.com/stretchr/testify v1.8.4
github.com/xanzy/go-gitlab v0.91.1
golang.org/x/net v0.15.0
golang.org/x/oauth2 v0.12.0
gopkg.in/yaml.v2 v2.4.0
)

require (
github.com/ProtonMail/go-crypto v0.0.0-20230217124315-7d5c6f04bbb8 // indirect
github.com/cloudflare/circl v1.1.0 // indirect
github.com/cloudflare/circl v1.3.3 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/golang/protobuf v1.5.3 // indirect
github.com/google/go-querystring v1.1.0 // indirect
Expand All @@ -31,10 +33,10 @@ require (
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/spf13/pflag v1.0.5 // indirect
github.com/stretchr/objx v0.5.0 // indirect
golang.org/x/crypto v0.7.0 // indirect
golang.org/x/sys v0.8.0 // indirect
golang.org/x/crypto v0.13.0 // indirect
golang.org/x/sys v0.12.0 // indirect
golang.org/x/time v0.3.0 // indirect
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/protobuf v1.29.1 // indirect
google.golang.org/protobuf v1.31.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
Loading

0 comments on commit d4637b6

Please sign in to comment.