mirror of
https://github.com/protocolbuffers/protobuf-go.git
synced 2024-12-28 18:25:46 +00:00
f8505dac3f
Use a local ".cache" directory in the repository root for the cache instead of a directory in /tmp. On many operating systems, files are arbitrarily purged as part of the OS' cleanup procedures, leading to obscure failures. Since the build cache is in the repo root, we adjust the invocation of gofmt to only act upon the set of Go files tracked by git. Change-Id: I10cd0ea0de3370ea25fcd3870451fb41c4204a4b Reviewed-on: https://go-review.googlesource.com/133875 Reviewed-by: Damien Neil <dneil@google.com>
6 lines
57 B
YAML
6 lines
57 B
YAML
script:
|
|
- ./test.bash
|
|
cache:
|
|
directories:
|
|
- .cache
|