dominikh / go-tools

Staticcheck - The advanced Go linter
https://staticcheck.dev
MIT License
6.18k stars 377 forks source link

Investigate GitHub's code scanning API and SARIF #842

Open dominikh opened 4 years ago

dominikh commented 4 years ago

https://github.blog/2020-10-05-announcing-third-party-code-scanning-tools-static-analysis-and-developer-security-training/

dominikh commented 3 years ago
dominikh commented 3 years ago

Initial work on SARIF support happened in ec9c2456d6a82849b4f3485d0f78cd48931b512b

dominikh commented 2 years ago

After ebb060ea5998284e78f37571699c761fdd7d2c41 we're in a pretty usable state. We still need to fix column info for non-ASCII text (UTF-16 is at it again), and the way we handle some non-diagnostic errors isn't ideal. However, this is probably usable enough to include in the next release and to offer as an option in our GitHub Action.