Skip to content

Commit

Permalink
chore(deps): update tools to latest versions (#2055)
Browse files Browse the repository at this point in the history
* chore(deps): update tools to latest versions

Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* chore: fix linter for non-const format

Signed-off-by: Christopher Phillips <[email protected]>

---------

Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Signed-off-by: Christopher Phillips <[email protected]>
Co-authored-by: westonsteimel <[email protected]>
Co-authored-by: Christopher Phillips <[email protected]>
  • Loading branch information
3 people authored Aug 16, 2024
1 parent c5fb1a3 commit a758b01
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .binny.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ tools:
# used for linting
- name: golangci-lint
version:
want: v1.59.1
want: v1.60.1
method: github-release
with:
repo: golangci/golangci-lint
Expand Down Expand Up @@ -58,7 +58,7 @@ tools:
# used to release all artifacts
- name: goreleaser
version:
want: v2.1.0
want: v2.2.0
method: github-release
with:
repo: goreleaser/goreleaser
Expand Down
2 changes: 1 addition & 1 deletion grype/internal/packagemetadata/discover_type_names.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ func findMetadataDefinitionNames(paths ...string) ([]string, error) {
// note: 3 is a point-in-time gut check. This number could be updated if new metadata definitions are added, but is not required.
// it is really intended to catch any major issues with the generation process that would generate, say, 0 definitions.
if len(strNames) < 3 {
return nil, fmt.Errorf("not enough metadata definitions found (discovered: " + fmt.Sprintf("%d", len(strNames)) + ")")
return nil, fmt.Errorf("not enough metadata definitions found: discovered %d ", len(strNames))
}

return strNames, nil
Expand Down

0 comments on commit a758b01

Please sign in to comment.