mirror of
https://github.com/octoleo/restic.git
synced 2024-11-29 16:23:59 +00:00
CI: Move gofmt check to end of tests
Suggested by @tyll
This commit is contained in:
parent
53e66a4935
commit
f51aba1510
@ -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 New Issue
Block a user