forked from github/multus-cni
commit
6b38a213b1
9
.github/workflows/test.yml
vendored
9
.github/workflows/test.yml
vendored
@ -16,11 +16,10 @@ jobs:
|
|||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Run Revive
|
- name: Run Revive Action by pulling pre-built image
|
||||||
run: |
|
uses: docker://morphy/revive-action:v2
|
||||||
GO111MODULE=off go get github.com/mgechev/revive
|
with:
|
||||||
$(go env GOPATH)/bin/revive -exclude ./vendor/... ./... # this is ouput for user
|
exclude: "./vendor/..."
|
||||||
$(go env GOPATH)/bin/revive -exclude ./vendor/... ./...| xargs -0 -r false # this is for github actions
|
|
||||||
|
|
||||||
- name: Run go fmt
|
- name: Run go fmt
|
||||||
run: go fmt ./...
|
run: go fmt ./...
|
||||||
|
Loading…
Reference in New Issue
Block a user