Skip to content

Commit

Permalink
build: update go to 1.23
Browse files Browse the repository at this point in the history
  • Loading branch information
shino committed Sep 25, 2024
1 parent 92597e2 commit 19a6870
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ jobs:
with:
go-version-file: go.mod
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
uses: golangci/golangci-lint-action@v6
with:
# Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
version: v1.54
version: v1.61
args: --timeout=10m

# Optional: working directory, useful for monorepos
# working-directory: somedir

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/vulsio/go-cpe-dictionary

go 1.20
go 1.23

require (
github.com/alicebob/miniredis/v2 v2.33.0
Expand Down
2 changes: 1 addition & 1 deletion util/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ func FetchFeedFile(url string, compressed bool) ([]byte, error) {
}
return nil
}
notify := func(err error, t time.Duration) {
notify := func(_ error, t time.Duration) {
logger.Warn("Failed to HTTP GET", "retrying in", t)
}
err := backoff.RetryNotify(f, backoff.NewExponentialBackOff(), notify)
Expand Down

0 comments on commit 19a6870

Please sign in to comment.