diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index e2175b0..25dda91 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -65,10 +65,10 @@ jobs: passthrough="" elif [[ "${RUNNER_OS}" == "macOS" ]]; then extra_args="-extra-arg=-std=c++17 -extra-arg=--stdlib=libc++" - passthrough="--query-driver=/usr/bin/clang++" - else - extra_args="-extra-arg=-std=c++17" location="$(xcrun --show-sdk-path)" passthrough="-I${location}" + else + extra_args="-extra-arg=-std=c++17" + passthrough="" fi clang-tidy -checks=-*,clang-analyzer-*,-clang-analyzer-cplusplus* ${extra_args} example/breeze_theme.hpp -- "${passthrough}"