From c56f08b93533507d9e4b6b14c75c3a85775030f0 Mon Sep 17 00:00:00 2001 From: Josh Baker Date: Tue, 3 Nov 2020 12:28:57 -0700 Subject: [PATCH] Update go.yml --- .github/workflows/go.yml | 8 ++++++++ 1 file changed, 8 insertions(+) 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