diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index b21c4625..6d4afddd 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -21,5 +21,13 @@ jobs: - name: Check out code into the Go module directory uses: actions/checkout@v2 + - name: Get dependencies + run: | + go get -v -t -d ./... + if [ -f Gopkg.toml ]; then + curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh + dep ensure + fi + - name: Test run: make test