Update go.yml

pull/1/head
Raphaël 2020-04-11 12:44:41 +01:00 committed by GitHub
parent f80775bd2c
commit 9a2e37bbf7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 6 deletions

View File

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