close TASK-373: Fix cpp/comparison-with-wider-type in config_loader #130
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Static Analysis | |
| on: | |
| push: | |
| branches: ["**"] | |
| pull_request: | |
| branches: [main] | |
| env: | |
| FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true | |
| jobs: | |
| clang-tidy: | |
| name: clang-tidy | |
| runs-on: ubuntu-latest | |
| container: mcr.microsoft.com/devcontainers/cpp:ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install clang-tidy | |
| run: apt-get update -qq && apt-get install -y --no-install-recommends clang-tidy | |
| - name: Configure (with compile_commands.json) | |
| run: | | |
| cmake -B .vscode/build -S . \ | |
| -G Ninja \ | |
| -DCMAKE_BUILD_TYPE=Debug \ | |
| -DCMAKE_EXPORT_COMPILE_COMMANDS=ON \ | |
| -Wno-dev | |
| - name: Run clang-tidy | |
| run: | | |
| find lib/PedalLogic/src -name "*.cpp" | \ | |
| xargs clang-tidy -p .vscode/build |