Attempt to fix git workflow action

This commit is contained in:
Mike Farah 2020-04-14 11:18:45 +10:00
parent 8f166a9848
commit f68b24323e
2 changed files with 4 additions and 6 deletions

View File

@ -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

View File

@ -1,4 +1,4 @@
#!/bin/sh
set -e
wget -O- -nv https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.24.0
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