Open
Description
Frequently I run gorelease
as part of ci to test if anybody has introduced breaking changes. This works well, but is a separate workflow that I have to run in addition to all the linting that already goes on. It would be nice if I could simply add a phase to my current run of []*analysis.Analyzer
and reuse the parsing that is already done.
IIUC, this would require fetching the previous versions' AST as an analysis.Fact
, so I am neither sure how feasible or efficient this would be, but it would serve to be better integrable into existing metalinters.
EDIT: This may be of less value after #37561, but reparsing the AST does come at cost, so it would be a nice to have regardless.