mirror of
https://github.com/restic/restic.git
synced 2025-08-12 17:07:40 +00:00
CI: Move gofmt check to end of tests
Suggested by @tyll
This commit is contained in:
@@ -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)"
|
||||
|
Reference in New Issue
Block a user