Skip to content

Commit

Permalink
chore: bump deps and config (#372)
Browse files Browse the repository at this point in the history
* chore: fix lint

Signed-off-by: Manfred Touron <[email protected]>

* chore: bump deps

Signed-off-by: Manfred Touron <[email protected]>

* chore: regenerate

Signed-off-by: Manfred Touron <[email protected]>

* chore: fixup

* chore: fixup

* chore: fix import paths

* chore: fix release-note

* chore: fix golangci-lint

* chore: disable depguard

---------

Signed-off-by: Manfred Touron <[email protected]>
  • Loading branch information
moul authored Jul 31, 2023
1 parent 03554cd commit 7440812
Show file tree
Hide file tree
Showing 10 changed files with 40 additions and 29 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
golangci_lint: [v1.50.1]
golangci_lint: [v1.53.3]
golang: [1.20.x]
steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
git fetch --prune --unshallow --tags
- uses: snyk/[email protected]
with:
releaseBranch: master
releaseBranch: ${{ github.event.repository.default_branch }}
env:
GITHUB_PR_USERNAME: ${{ github.actor }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ go-test.json
*#
.#*
coverage.txt
/.tmp/

go-build.log
go-install.log
Expand Down
3 changes: 1 addition & 2 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ linters:
enable:
- asciicheck
- bodyclose
- deadcode
- depguard
#- depguard
- dogsled
- dupl
- errcheck
Expand Down
12 changes: 6 additions & 6 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@ changelog:
archives:
-
name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
#replacements:
# darwin: Darwin
# linux: Linux
# windows: Windows
# 386: i386
# amd64: x86_64
format_overrides:
-
goos: windows
Expand Down
3 changes: 3 additions & 0 deletions AUTHORS

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

20 changes: 13 additions & 7 deletions depaware.txt

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

8 changes: 4 additions & 4 deletions go.mod

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

14 changes: 8 additions & 6 deletions go.sum

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

4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"math/rand"
"os"

"github.com/peterbourgon/ff/v3"
ff "github.com/peterbourgon/ff/v3"
"go.uber.org/zap"
"go.uber.org/zap/zapcore"
"moul.io/climan"
Expand Down Expand Up @@ -78,7 +78,7 @@ func run(args []string) error {
return nil
}

func doRoot(ctx context.Context, args []string) error {
func doRoot(_ context.Context, args []string) error {
if len(args) > 0 {
return flag.ErrHelp
}
Expand Down

0 comments on commit 7440812

Please sign in to comment.