Skip to content

Commit

Permalink
update dependencies, upgrade to go 1.16.x and update goreleaser (helm…
Browse files Browse the repository at this point in the history
…#129)

Signed-off-by: Carlos Panato <ctadeu@gmail.com>
  • Loading branch information
cpanato authored Aug 8, 2021
1 parent e53e0e7 commit e08d086
Show file tree
Hide file tree
Showing 7 changed files with 616 additions and 429 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: "1.15.8"
go-version: "1.16.x"

- name: Cache
uses: actions/cache@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: "1.15.8"
go-version: "1.16.x"

- name: Cache
uses: actions/cache@v2
Expand Down
2 changes: 0 additions & 2 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ snapshot:
dockers:
- goos: linux
goarch: amd64
binaries:
- cr
skip_push: false
dockerfile: Dockerfile
image_templates:
Expand Down
16 changes: 8 additions & 8 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
module github.com/helm/chart-releaser

go 1.15
go 1.16

require (
github.com/Songmu/retry v0.1.0
github.com/golangci/golangci-lint v1.37.0
github.com/google/go-github/v33 v33.0.0
github.com/goreleaser/goreleaser v0.156.2
github.com/golangci/golangci-lint v1.41.1
github.com/google/go-github/v36 v36.0.0
github.com/goreleaser/goreleaser v0.172.1
github.com/magefile/mage v1.11.0
github.com/mitchellh/go-homedir v1.1.0
github.com/pkg/errors v0.9.1
github.com/spf13/cobra v1.1.3
github.com/spf13/pflag v1.0.5
github.com/spf13/viper v1.7.1
github.com/spf13/viper v1.8.1
github.com/stretchr/testify v1.7.0
golang.org/x/oauth2 v0.0.0-20210216194517-16ff1888fd2e
golang.org/x/tools v0.1.0
helm.sh/helm/v3 v3.5.2
golang.org/x/oauth2 v0.0.0-20210622215436-a8dc77f794b6
golang.org/x/tools v0.1.4
helm.sh/helm/v3 v3.6.1
)

replace (
Expand Down
1,019 changes: 604 additions & 415 deletions go.sum

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pkg/github/github.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (
"github.com/Songmu/retry"
"github.com/pkg/errors"

"github.com/google/go-github/v33/github"
"github.com/google/go-github/v36/github"
"golang.org/x/oauth2"
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/releaser/releaser.go
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ func (r *Releaser) UpdateIndexFile() (bool, error) {
if err != nil {
return false, err
}
defer r.git.RemoveWorktree("", worktree) // nolint, errcheck
defer r.git.RemoveWorktree("", worktree) // nolint: errcheck

indexYamlPath := filepath.Join(worktree, "index.yaml")
if err := copyFile(r.config.IndexPath, indexYamlPath); err != nil {
Expand Down

0 comments on commit e08d086

Please sign in to comment.