CI: Move gofmt check to end of tests
Suggested by @tyll
This commit is contained in:
parent
53e66a4935
commit
f51aba1510
1 changed files with 2 additions and 2 deletions
|
@ -11,10 +11,10 @@ install:
|
|||
- go get -v -t ./...
|
||||
|
||||
script:
|
||||
- gofmt -l *.go */*.go */*/*.go
|
||||
- test -z "$(gofmt -l *.go */*.go */*/*.go)"
|
||||
- go build -ldflags "-s" ./...
|
||||
- go build -ldflags "-s" -o restic ./cmd/restic
|
||||
- "stat --printf='binary size: %s' restic"
|
||||
- go test ./...
|
||||
- ./testsuite.sh
|
||||
- gofmt -l *.go */*.go */*/*.go
|
||||
- test -z "$(gofmt -l *.go */*.go */*/*.go)"
|
||||
|
|
Loading…
Reference in a new issue