cedrickring / golang-action

A GitHub Action to run Go commands
Apache License 2.0
134 stars 33 forks source link

Closes #2 adds support for go modules and vendoring #6

Closed dougnukem closed 5 years ago

dougnukem commented 5 years ago

Closes cedrickring/golang-action#2

Adds changes to entrypoint.sh to support golang modules and vendoring.

If project contains go.mod set GO111MODULE=on to enable go modules support If project ALSO contains /vendor set GOFLAGS="-mod=vendor" to ensure we only use the /vendor dependencies

dougnukem commented 5 years ago

@cedrickring rebased the support for go modules

dougnukem commented 5 years ago

closing this in favor of #5