diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bb038cb8aa..2ccd562193 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -318,12 +318,16 @@ jobs: echo "::add-matcher::.github/workflows/matchers/gcc.json" echo "::add-matcher::.github/workflows/matchers/clang-tidy.json" - - name: Run 'pio run --list-targets -e esp32-idf-tidy' - if: matrix.name == 'Run script/clang-tidy for ESP32 IDF' + - name: Run 'pio run --list-targets' for ESP32 builds + if: contains(matrix.name, 'ESP32') run: | . venv/bin/activate mkdir -p .temp - pio run --list-targets -e esp32-idf-tidy + if [[ "${{ matrix.name }}" == *"IDF"* ]]; then + pio run --list-targets -e esp32-idf-tidy + else + pio run --list-targets -e esp32-arduino-tidy + fi - name: Check if full clang-tidy scan needed id: check_full_scan