mirror of
https://github.com/octoleo/restic.git
synced 2024-11-26 14:56:29 +00:00
Add gofmt test to wercker.yml
This commit is contained in:
parent
59cfc4bd03
commit
937c91e1cf
@ -7,6 +7,13 @@ build:
|
|||||||
# at the right place in the workspace tree
|
# at the right place in the workspace tree
|
||||||
- setup-go-workspace
|
- setup-go-workspace
|
||||||
|
|
||||||
|
# Test go formatting
|
||||||
|
- script:
|
||||||
|
name: gofmt
|
||||||
|
code: |
|
||||||
|
gofmt -l *.go */*.go */*/*.go
|
||||||
|
test -z "$(gofmt -l *.go */*.go */*/*.go)"
|
||||||
|
|
||||||
# Gets the dependencies
|
# Gets the dependencies
|
||||||
- script:
|
- script:
|
||||||
name: go get
|
name: go get
|
||||||
|
Loading…
Reference in New Issue
Block a user