mirror of
https://gitea.com/gitea/act_runner.git
synced 2026-03-20 11:56:47 +08:00
exclude act pkg from vet
This commit is contained in:
11
internal/app/act-cli/main_test.go
Normal file
11
internal/app/act-cli/main_test.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"os"
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestMain(_ *testing.T) {
|
||||
os.Args = []string{"act", "--help"}
|
||||
main()
|
||||
}
|
||||
Reference in New Issue
Block a user