diff --git a/Makefile b/Makefile index 8abf821..41bfecc 100644 --- a/Makefile +++ b/Makefile @@ -229,9 +229,10 @@ vet: ## Vet the source code @go run github.com/nishanths/exhaustive/cmd/exhaustive . @go run github.com/polyfloyd/go-errorlint . @go run github.com/remyoudompheng/go-misc/deadcode . + @go run github.com/rhysd/actionlint/cmd/actionlint @go run github.com/tetafro/godot/cmd/godot . @go run github.com/tomarrell/wrapcheck/v2/cmd/wrapcheck . - @go run github.com/ultraware/whitespace/cmd/whitespace ./... + @go run github.com/ultraware/whitespace/cmd/whitespace . @go run go.uber.org/nilaway/cmd/nilaway . @go run golang.org/x/tools/go/analysis/passes/shadow/cmd/shadow . @go run honnef.co/go/tools/cmd/staticcheck . diff --git a/go.mod b/go.mod index 6cedfdd..e492ca7 100644 --- a/go.mod +++ b/go.mod @@ -22,6 +22,7 @@ require ( github.com/nishanths/exhaustive v0.12.0 github.com/polyfloyd/go-errorlint v1.4.8 github.com/remyoudompheng/go-misc v0.0.0-20190427085024-2d6ac652a50e + github.com/rhysd/actionlint v1.6.27 github.com/rogpeppe/go-internal v1.12.0 github.com/santhosh-tekuri/jsonschema/v5 v5.3.1 github.com/tetafro/godot v1.4.16 @@ -70,6 +71,7 @@ require ( github.com/magiconair/properties v1.8.7 // indirect github.com/mattn/go-colorable v0.1.13 // indirect github.com/mattn/go-isatty v0.0.20 // indirect + github.com/mattn/go-runewidth v0.0.15 // indirect github.com/mitchellh/go-homedir v1.1.0 // indirect github.com/mitchellh/mapstructure v1.5.0 // indirect github.com/opencontainers/runtime-spec v1.1.0 // indirect @@ -80,6 +82,8 @@ require ( github.com/quasilyte/gogrep v0.5.0 // indirect github.com/quasilyte/regex/syntax v0.0.0-20210819130434-b3f0c404a727 // indirect github.com/quasilyte/stdinfo v0.0.0-20220114132959-f7386bf02567 // indirect + github.com/rivo/uniseg v0.4.7 // indirect + github.com/robfig/cron/v3 v3.0.1 // indirect github.com/sergi/go-diff v1.2.0 // indirect github.com/sirkon/dst v0.26.4 // indirect github.com/sirupsen/logrus v1.9.3 // indirect diff --git a/go.sum b/go.sum index 98f71e7..0bf61ab 100644 --- a/go.sum +++ b/go.sum @@ -315,6 +315,8 @@ github.com/mattn/go-colorable v0.1.13/go.mod h1:7S9/ev0klgBDR4GtXTXX8a3vIGJpMovk github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM= github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWEY= github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= +github.com/mattn/go-runewidth v0.0.15 h1:UNAjwbU9l54TA3KzvqLGxwWjHmMgBUVhBiTjelZgg3U= +github.com/mattn/go-runewidth v0.0.15/go.mod h1:Jdepj2loyihRzMpdS35Xk/zdY8IAYHsh153qUoGf23w= github.com/mdempsky/unconvert v0.0.0-20230907125504-415706980c06 h1:GC1BHRdynugzxNoEphewRqF4qcD/zzqQYsls4KXFtT8= github.com/mdempsky/unconvert v0.0.0-20230907125504-415706980c06/go.mod h1:DuAZxNOBRkxMjbchCclLZxb/18Qb46cU26hBsomVuow= github.com/mitchellh/go-homedir v1.1.0 h1:lukF9ziXFxDFPkA1vsr5zpc1XuPDn/wFntq5mG+4E0Y= @@ -358,6 +360,13 @@ github.com/quasilyte/stdinfo v0.0.0-20220114132959-f7386bf02567 h1:M8mH9eK4OUR4l github.com/quasilyte/stdinfo v0.0.0-20220114132959-f7386bf02567/go.mod h1:DWNGW8A4Y+GyBgPuaQJuWiy0XYftx4Xm/y5Jqk9I6VQ= github.com/remyoudompheng/go-misc v0.0.0-20190427085024-2d6ac652a50e h1:eTWZyPUnHcuGRDiryS/l2I7FfKjbU3IBx3IjqHPxuKU= github.com/remyoudompheng/go-misc v0.0.0-20190427085024-2d6ac652a50e/go.mod h1:80FQABjoFzZ2M5uEa6FUaJYEmqU2UOKojlFVak1UAwI= +github.com/rhysd/actionlint v1.6.27 h1:xxwe8YmveBcC8lydW6GoHMGmB6H/MTqUU60F2p10wjw= +github.com/rhysd/actionlint v1.6.27/go.mod h1:m2nFUjAnOrxCMXuOMz9evYBRCLUsMnKY2IJl/N5umbk= +github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= +github.com/rivo/uniseg v0.4.7 h1:WUdvkW8uEhrYfLC4ZzdpI2ztxP1I582+49Oc5Mq64VQ= +github.com/rivo/uniseg v0.4.7/go.mod h1:FN3SvrM+Zdj16jyLfmOkMNblXMcoc8DfTHruCPUcx88= +github.com/robfig/cron/v3 v3.0.1 h1:WdRxkvbJztn8LMz/QEvLN5sBU+xKpSqwwUO1Pjr4qDs= +github.com/robfig/cron/v3 v3.0.1/go.mod h1:eQICP3HwyT7UooqI/z+Ov+PtYAWygg1TEWWzGIFLtro= github.com/rogpeppe/fastuuid v1.2.0/go.mod h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6LYCDYWNEvQ= github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= github.com/rogpeppe/go-internal v1.12.0 h1:exVL4IDcn6na9z1rAb56Vxr+CgyK3nn3O+epU5NdKM8= diff --git a/tools.go b/tools.go index 6285f42..e9dffb1 100644 --- a/tools.go +++ b/tools.go @@ -40,6 +40,7 @@ import ( _ "github.com/nishanths/exhaustive/cmd/exhaustive" _ "github.com/polyfloyd/go-errorlint" _ "github.com/remyoudompheng/go-misc/deadcode" + _ "github.com/rhysd/actionlint/cmd/actionlint" _ "github.com/tetafro/godot/cmd/godot" _ "github.com/tomarrell/wrapcheck/v2/cmd/wrapcheck" _ "github.com/ultraware/whitespace/cmd/whitespace"