mirror of
https://github.com/anchore/syft.git
synced 2025-11-17 16:33:21 +01:00
chore(deps): update bootstrap tools to latest versions (#1857)
* chore(deps): update bootstrap tools to latest versions Signed-off-by: Christopher Phillips <christopher.phillips@anchore.com> Co-authored-by: Christopher Phillips <christopher.phillips@anchore.com>
This commit is contained in:
parent
f07581f504
commit
7d1b292ad0
@ -12,7 +12,6 @@ linters:
|
|||||||
enable:
|
enable:
|
||||||
- asciicheck
|
- asciicheck
|
||||||
- bodyclose
|
- bodyclose
|
||||||
- depguard
|
|
||||||
- dogsled
|
- dogsled
|
||||||
- dupl
|
- dupl
|
||||||
- errcheck
|
- errcheck
|
||||||
@ -57,6 +56,7 @@ run:
|
|||||||
|
|
||||||
# do not enable...
|
# do not enable...
|
||||||
# - deadcode # The owner seems to have abandoned the linter. Replaced by "unused".
|
# - deadcode # The owner seems to have abandoned the linter. Replaced by "unused".
|
||||||
|
# - depguard # We don't have a configuration for this yet
|
||||||
# - goprintffuncname # does not catch all cases and there are exceptions
|
# - goprintffuncname # does not catch all cases and there are exceptions
|
||||||
# - nakedret # does not catch all cases and should not fail a build
|
# - nakedret # does not catch all cases and should not fail a build
|
||||||
# - gochecknoglobals
|
# - gochecknoglobals
|
||||||
|
|||||||
2
Makefile
2
Makefile
@ -10,7 +10,7 @@ CHRONICLE_CMD = $(TEMP_DIR)/chronicle
|
|||||||
GLOW_CMD = $(TEMP_DIR)/glow
|
GLOW_CMD = $(TEMP_DIR)/glow
|
||||||
|
|
||||||
# Tool versions #################################
|
# Tool versions #################################
|
||||||
GOLANGCILINT_VERSION := v1.52.2
|
GOLANGCILINT_VERSION := v1.53.2
|
||||||
GOSIMPORTS_VERSION := v0.3.8
|
GOSIMPORTS_VERSION := v0.3.8
|
||||||
BOUNCER_VERSION := v0.4.0
|
BOUNCER_VERSION := v0.4.0
|
||||||
CHRONICLE_VERSION := v0.6.0
|
CHRONICLE_VERSION := v0.6.0
|
||||||
|
|||||||
@ -374,7 +374,7 @@ func (f unindexedDirectoryResolverFS) resolve(filePath string) (resolved string,
|
|||||||
abs := f.u.absPath(resolved)
|
abs := f.u.absPath(resolved)
|
||||||
fi, _, err = f.u.ls.LstatIfPossible(abs)
|
fi, _, err = f.u.ls.LstatIfPossible(abs)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return
|
return resolved, fi, err
|
||||||
}
|
}
|
||||||
for f.u.isSymlink(fi) {
|
for f.u.isSymlink(fi) {
|
||||||
if slices.Contains(visited, resolved) {
|
if slices.Contains(visited, resolved) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user