From 9a2e37bbf75df92081bab015204f4b5786b8cbb8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl?= <16480203+sundowndev@users.noreply.github.com> Date: Sat, 11 Apr 2020 12:44:41 +0100 Subject: [PATCH] Update go.yml --- .github/workflows/go.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 327e311..1e4f8d3 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -1,10 +1,6 @@ name: Build -on: - push: - branches: [ master ] - pull_request: - branches: [ master ] +on: [push] jobs: build: @@ -31,7 +27,7 @@ jobs: go get -u golang.org/x/lint/golint - name: Lint - run: $GOPATH/bin/golint -min_confidence 0.3 ./... + run: $HOME/go/bin/golint -min_confidence 0.3 ./... - name: Build run: go build -v .