Closed dougnukem closed 5 years ago
@cedrickring yeah adding support for dep ensure
makes sense if we detect the presence of a Gopkg.toml
@cedrickring added support and tests for Go projects that use dep
(e.g. presence of a Gopkg.toml
and also if the dep dependencies are vendored ->/vendor
)
Also squashed the commits to cleanup the git history.
@cedrickring cleaned up those debug echo statements
Closes #2
Adds support for new Action environment variable
PROJECT_PATH
to allow for a subdirectory in the workspace to be used as Go project root (useful when multiple go builds are in a single mono repo, or for testing within this action)Adds test projects
tests/projects/go_standard
tests/projects/go_modules
tests/projects/go_modules_vendor
./vendor
Adds workflow actions to run those projects
Using
act
local github action tool you can run the tests