mirror of
https://github.com/anchore/syft.git
synced 2026-02-12 02:26:42 +01:00
chore(deps): update tools to latest versions (#3556)
* chore(deps): update tools to latest versions Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * chore: update build scripts with new architecture suffix Signed-off-by: Christopher Phillips <32073428+spiffcs@users.noreply.github.com> * chore: update suffix for new ppc64 arch Signed-off-by: Christopher Phillips <32073428+spiffcs@users.noreply.github.com> * chore(deps): update tools to latest versions Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * chore: lintfix Signed-off-by: Christopher Phillips <32073428+spiffcs@users.noreply.github.com> --------- Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Signed-off-by: Christopher Phillips <32073428+spiffcs@users.noreply.github.com> Co-authored-by: spiffcs <32073428+spiffcs@users.noreply.github.com>
This commit is contained in:
parent
f9ffe7252e
commit
1f4a48c3c1
@ -26,7 +26,7 @@ tools:
|
|||||||
# used for linting
|
# used for linting
|
||||||
- name: golangci-lint
|
- name: golangci-lint
|
||||||
version:
|
version:
|
||||||
want: v1.62.2
|
want: v1.63.1
|
||||||
method: github-release
|
method: github-release
|
||||||
with:
|
with:
|
||||||
repo: golangci/golangci-lint
|
repo: golangci/golangci-lint
|
||||||
|
|||||||
@ -13,7 +13,7 @@ import (
|
|||||||
|
|
||||||
// parseRebarLock parses a rebar.lock and returns the discovered Elixir packages.
|
// parseRebarLock parses a rebar.lock and returns the discovered Elixir packages.
|
||||||
//
|
//
|
||||||
//nolint:funlen
|
|
||||||
func parseRebarLock(_ context.Context, _ file.Resolver, _ *generic.Environment, reader file.LocationReadCloser) ([]pkg.Package, []artifact.Relationship, error) {
|
func parseRebarLock(_ context.Context, _ file.Resolver, _ *generic.Environment, reader file.LocationReadCloser) ([]pkg.Package, []artifact.Relationship, error) {
|
||||||
doc, err := parseErlang(reader)
|
doc, err := parseErlang(reader)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|||||||
@ -180,7 +180,6 @@ func candidateTargetSw(p pkg.Package) []string {
|
|||||||
return []string{cpe.Any}
|
return []string{cpe.Any}
|
||||||
}
|
}
|
||||||
|
|
||||||
//nolint:funlen
|
|
||||||
func candidateVendors(p pkg.Package) []string {
|
func candidateVendors(p pkg.Package) []string {
|
||||||
// in ecosystems where the packaging metadata does not have a clear field to indicate a vendor (or a field that
|
// in ecosystems where the packaging metadata does not have a clear field to indicate a vendor (or a field that
|
||||||
// could be interpreted indirectly as such) the project name tends to be a common stand in. Examples of this
|
// could be interpreted indirectly as such) the project name tends to be a common stand in. Examples of this
|
||||||
|
|||||||
@ -501,7 +501,7 @@ func (r *Resolver) resolveParent(ctx context.Context, pom *Project, resolvingPro
|
|||||||
|
|
||||||
// resolveInheritedVersion attempts to find the version of a dependency (groupID, artifactID) by searching all parent poms and imported managed dependencies
|
// resolveInheritedVersion attempts to find the version of a dependency (groupID, artifactID) by searching all parent poms and imported managed dependencies
|
||||||
//
|
//
|
||||||
//nolint:gocognit,funlen
|
//nolint:gocognit
|
||||||
func (r *Resolver) resolveInheritedVersion(ctx context.Context, pom *Project, groupID, artifactID string, resolutionContext ...*Project) (string, error) {
|
func (r *Resolver) resolveInheritedVersion(ctx context.Context, pom *Project, groupID, artifactID string, resolutionContext ...*Project) (string, error) {
|
||||||
if pom == nil {
|
if pom == nil {
|
||||||
return "", fmt.Errorf("nil pom provided to findInheritedVersion")
|
return "", fmt.Errorf("nil pom provided to findInheritedVersion")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user