From f68b24323e17af6d26d857a0630f454d820f955a Mon Sep 17 00:00:00 2001 From: Mike Farah Date: Tue, 14 Apr 2020 11:18:45 +1000 Subject: [PATCH] Attempt to fix git workflow action --- .github/workflows/go.yml | 6 ++---- scripts/devtools.sh | 4 ++-- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index d670f440..e89e9347 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -24,9 +24,7 @@ jobs: dep ensure fi - - name: Download golangci-lint - run: wget -O- -nv https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.24.0 - - name: Download goimports - run: go get golang.org/x/tools/cmd/goimports + - name: Download deps + run: scripts/devtools.sh - name: Build run: make local build \ No newline at end of file diff --git a/scripts/devtools.sh b/scripts/devtools.sh index 6e44517f..c3aac83e 100755 --- a/scripts/devtools.sh +++ b/scripts/devtools.sh @@ -1,4 +1,4 @@ #!/bin/sh -set -e +set -ex +go get golang.org/x/tools/cmd/goimports wget -O- -nv https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.24.0 -go get golang.org/x/tools/cmd/goimports \ No newline at end of file