-
Notifications
You must be signed in to change notification settings - Fork 595
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
linter in CI doesn't work as expected #3126
Comments
Are you running the version of It's possible the version of |
hi, |
we're working on fixing the current code to match the latest linter updates for new golangci-lint |
The issue description reads that syft v1.11.0 source tree was scanned, which has golangci-lint pinned at v1.59.1 where as from your comment above you're using version Here are some helpful make/task targets:
|
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): macThe text was updated successfully, but these errors were encountered: