Open tomersein opened 4 weeks ago
Are you running the version of golangci-lint
that is installed by Syft's Taskfile? ./.tool/golangci-lint run --issues-exit-code=1 --timeout 5m0s --tests=false
succeeds for me on main
.
It's possible the version of golangci-lint
on path is newer or older than the one in .tool
and that is causing this difference.
hi,
My version is:
golangci-lint has version 1.60.1 built with go1.22.6 from 3298c10 on 2024-08-14T01:09:25Z
we're working on fixing the current code to match the latest linter updates for new golangci-lint
What happened: If you run this command
golangci-lint run --issues-exit-code=1 --timeout 5m0s --tests=false
you will see the below errors:However it seems the CI doesn't fail.
What you expected to happen: CI should detect these errors Steps to reproduce the issue: as I mentioned above run manually the command from the root directory of syft Anything else we need to know?:
Environment:
syft version
: 1.11.0cat /etc/os-release
or similar): mac