Skip to content

Commit 8ed5260

Browse files
authored
Cache swift-format (#1887)
Motivation: The CI takes ~7 minutes to run, the longest job is the formatting check which spends most of its time compiling swift-format. Modifications: - Cache the swift-format build directory Result: Faster CI
1 parent e509151 commit 8ed5260

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

scripts/license-check.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,10 @@ check_copyright_headers() {
102102
! -name '*.grpc.swift' \
103103
! -name 'LinuxMain.swift' \
104104
! -name 'XCTestManifests.swift' \
105+
! -path './FuzzTesting/.build/*' \
106+
! -path './Performance/QPSBenchmark/.build/*' \
107+
! -path './Performance/Benchmarks/.build/*' \
108+
! -path './scripts/.swift-format-source/*' \
105109
! -path './.build/*')
106110
}
107111

0 commit comments

Comments
 (0)