Update go.yml
parent
f80775bd2c
commit
9a2e37bbf7
|
@ -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 .
|
||||
|
|
Loading…
Reference in New Issue