github.com/nektos/act@v0.2.83/main.go (about) 1 package main 2 3 import ( 4 _ "embed" 5 6 "github.com/nektos/act/cmd" 7 "github.com/nektos/act/pkg/common" 8 ) 9 10 //go:embed VERSION 11 var version string 12 13 func main() { 14 ctx, cancel := common.CreateGracefulJobCancellationContext() 15 defer cancel() 16 17 // run the command 18 cmd.Execute(ctx, version) 19 }