Jason Song
2b1561217f
All checks were successful
continuous-integration/drone/push Build is passing
`DenylistImports` will be redundant once [gitea/pull/22412](https://github.com/go-gitea/gitea/pull/22412) has been merged. Reviewed-on: #23 Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com> Reviewed-by: John Olheiser <john+gitea@jolheiser.com> Co-authored-by: Jason Song <i@wolfogre.com> Co-committed-by: Jason Song <i@wolfogre.com>
20 lines
317 B
Go
20 lines
317 B
Go
// Copyright 2020 The Gitea Authors. All rights reserved.
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
package main
|
|
|
|
import (
|
|
"code.gitea.io/gitea-vet/checks"
|
|
|
|
"golang.org/x/tools/go/analysis/unitchecker"
|
|
)
|
|
|
|
func main() {
|
|
unitchecker.Main(
|
|
checks.Imports,
|
|
checks.License,
|
|
checks.Migrations,
|
|
checks.ModelsSession,
|
|
)
|
|
}
|