Skip to content

Commit 929f0fc

Browse files
authored
Add warmup step to OSS check (#6134)
1 parent 546f71b commit 929f0fc

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tools/oss-check

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -420,6 +420,12 @@ def report_binary_size
420420
end
421421
end
422422

423+
def warmup
424+
%w[branch main].each do |branch|
425+
perform("../builds/swiftlint-#{branch} lint --no-cache --enable-all-rules", dir: "#{$working_dir}/Aerial")
426+
end
427+
end
428+
423429
################################
424430
# Script
425431
################################
@@ -478,6 +484,7 @@ unless @options[:force]
478484
end
479485

480486
setup_repos
487+
warmup
481488

482489
%w[branch main].each do |branch|
483490
generate_reports(branch)

0 commit comments

Comments
 (0)