Skip to content
This repository has been archived by the owner on May 8, 2023. It is now read-only.

Commit

Permalink
chore: bump spf13/cobra to 1.3.0 and fix linting config
Browse files Browse the repository at this point in the history
  • Loading branch information
clementnuss committed Feb 25, 2022
1 parent 752ca89 commit 5c66cdd
Show file tree
Hide file tree
Showing 5 changed files with 196 additions and 19 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
$(go env GOPATH)/bin/goveralls -coverprofile=profile.cov -service=github
release:
# if: startsWith(github.ref, 'refs/tags/v')
if: startsWith(github.ref, 'refs/tags/v')
needs:
- lint
- test
Expand Down
8 changes: 0 additions & 8 deletions .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,10 @@ linters-settings:
- hugeParam
gocyclo:
min-complexity: 15
golint:
min-confidence: 0.8
govet:
check-shadowing: true
lll:
line-length: 140
maligned:
suggest-new: true
misspell:
locale: US

Expand All @@ -56,20 +52,16 @@ linters:
# - godox
- gofmt
- goimports
- golint
- goprintffuncname
- gosec
- gosimple
- govet
- ineffassign
- interfacer
# - lll
- maligned
- misspell
- nakedret
- prealloc
- rowserrcheck
- scopelint
- staticcheck
- structcheck
- stylecheck
Expand Down
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
## 0.2.7 (2021-10-12)
## 0.2.8 2022-02-25

bump github.com/spf13/cobra version to 1.3.0

## 0.2.7

Go module upgrades, CI pipeline upgrades (now using go 1.17 and golangci-lint 0.44.2), (new) linting fixes

Expand Down
8 changes: 4 additions & 4 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/postfinance/kubectl-vault-sync
go 1.17

require (
github.com/spf13/cobra v1.2.1
github.com/spf13/cobra v1.3.0
github.com/spf13/pflag v1.0.5
github.com/stretchr/testify v1.7.0
k8s.io/api v0.23.4
Expand All @@ -25,7 +25,7 @@ require (
github.com/gogo/protobuf v1.3.2 // indirect
github.com/golang/protobuf v1.5.2 // indirect
github.com/google/btree v1.0.1 // indirect
github.com/google/go-cmp v0.5.5 // indirect
github.com/google/go-cmp v0.5.6 // indirect
github.com/google/gofuzz v1.1.0 // indirect
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect
github.com/google/uuid v1.1.2 // indirect
Expand All @@ -46,8 +46,8 @@ require (
github.com/xlab/treeprint v0.0.0-20181112141820-a009c3971eca // indirect
go.starlark.net v0.0.0-20200306205701-8dd3e2ee1dd5 // indirect
golang.org/x/net v0.0.0-20211209124913-491a49abca63 // indirect
golang.org/x/oauth2 v0.0.0-20210819190943-2bc19b11175f // indirect
golang.org/x/sys v0.0.0-20210831042530-f4d43177bf5e // indirect
golang.org/x/oauth2 v0.0.0-20211104180415-d3ed0bb246c8 // indirect
golang.org/x/sys v0.0.0-20211205182925-97ca703d548d // indirect
golang.org/x/term v0.0.0-20210615171337-6886f2dfbf5b // indirect
golang.org/x/text v0.3.7 // indirect
golang.org/x/time v0.0.0-20210723032227-1f47c861a9ac // indirect
Expand Down
Loading

0 comments on commit 5c66cdd

Please sign in to comment.