start a lint script
This commit is contained in:
@@ -2,4 +2,5 @@ language: go
|
|||||||
go:
|
go:
|
||||||
- 1.11.1
|
- 1.11.1
|
||||||
script:
|
script:
|
||||||
|
- ./script/lint
|
||||||
- go test -v ./...
|
- go test -v ./...
|
||||||
|
|||||||
5
script/lint
Executable file
5
script/lint
Executable file
@@ -0,0 +1,5 @@
|
|||||||
|
#!/bin/bash -ex
|
||||||
|
|
||||||
|
# Ensure the repository is clean after code generation.
|
||||||
|
./script/generate
|
||||||
|
test -z "$(git status --porcelain)"
|
||||||
Reference in New Issue
Block a user