We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab76e3b commit a75bcfeCopy full SHA for a75bcfe
.github/workflows/lint_random_files.yml
@@ -376,6 +376,13 @@ jobs:
376
out_benchmarks="lint_c_errors_benchmarks.txt"
377
combined="lint_c_errors.txt"
378
379
+ # Initialize output files with empty content:
380
+ echo "" > "$out_source"
381
+ echo "" > "$out_examples"
382
+ echo "" > "$out_tests"
383
+ echo "" > "$out_benchmarks"
384
+ echo "" > "$combined"
385
+
386
# Lint C source files:
387
files=$(echo "${{ steps.random-files.outputs.files }}" | tr ',' '\n' | grep -E '\.c$' | grep -v -e '/examples' -e '/test' -e '/benchmark' | tr '\n' ' ')
388
if [[ -n "${files}" ]]; then
0 commit comments