diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8d2f28f4d..727835358 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -426,6 +426,24 @@ jobs: name: Static Analysis Logs path: build/clang/*.log + iwyu: + name: Include What You Use + runs-on: ubuntu-latest + needs: + - clang-debug + steps: + - name: Install Qt + uses: jurplel/install-qt-action@v3 + with: + version: ${{ env.QT_VERSION }} + modules: ${{ env.QT_MODULES }} + - uses: actions/checkout@v3 + with: + ref: ${{ github.ref }} + fetch-depth: 0 + - name: Run IWYU + uses: EmilGedda/include-what-you-use-action@v1 + check-is-release: if: github.event_name != 'pull_request' name: Check For Release Tag