mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-24 18:02:02 +01:00
.github/workflows/vettools: add mroe analysis
This commit is contained in:
parent
2f222433c0
commit
4865f0a3da
8
.github/workflows/vettools/main.go
vendored
8
.github/workflows/vettools/main.go
vendored
@ -19,7 +19,9 @@ import (
|
||||
|
||||
"github.com/kisielk/errcheck/errcheck"
|
||||
"golang.org/x/tools/go/analysis/multichecker"
|
||||
"golang.org/x/tools/go/analysis/passes/atomic"
|
||||
"golang.org/x/tools/go/analysis/passes/atomicalign"
|
||||
"golang.org/x/tools/go/analysis/passes/copylock"
|
||||
)
|
||||
|
||||
func main() {
|
||||
@ -27,5 +29,9 @@ func main() {
|
||||
if _, err := os.Stat(filename); err == nil {
|
||||
errcheck.Analyzer.Flags.Set("exclude", filename)
|
||||
}
|
||||
multichecker.Main(atomicalign.Analyzer, errcheck.Analyzer, imageImportCheckAnalyzer)
|
||||
multichecker.Main(atomic.Analyzer,
|
||||
atomicalign.Analyzer,
|
||||
copylock.Analyzer,
|
||||
errcheck.Analyzer,
|
||||
imageImportCheckAnalyzer)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user