From 4c90c6b94bcc54e4e88148c2f8855d0e51b52a3b Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 26 Jul 2025 03:36:13 +0000 Subject: [PATCH] enable ClangTidy in check workflow Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Oliver Lee Change-Id: I149244e1169823ae362835e953bc4c52bc145241 --- dummy_test.cpp | 1 + tools/BUILD.bazel | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/dummy_test.cpp b/dummy_test.cpp index 8303a27..ce56ff3 100644 --- a/dummy_test.cpp +++ b/dummy_test.cpp @@ -2,5 +2,6 @@ auto main() -> int { + // NOLINTNEXTLINE(cppcoreguidelines-pro-type-vararg) ::printf("PASSED\n"); } diff --git a/tools/BUILD.bazel b/tools/BUILD.bazel index 4984881..54d7f76 100644 --- a/tools/BUILD.bazel +++ b/tools/BUILD.bazel @@ -69,7 +69,7 @@ genrule( cmd = """ echo "#!/bin/bash" > $@ echo "cd \\$$BUILD_WORKSPACE_DIRECTORY" >> $@ -echo "exec bazelisk build {options} \\$${{@:-//...}}" >> $@ +echo "exec bazelisk build {options} -- \\$${{@:-//... -//board/...}}" >> $@ """.format( options = " ".join([ "--aspects=@rules_clang_tidy//:aspects.bzl%check",