Bump ZedThree/clang-tidy-review from 0.21.0 to 0.22.2 #194
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, pull_request] | |
| jobs: | |
| clang-format: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: DoozyX/[email protected] | |
| with: | |
| source: '.' | |
| cmake-format: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Install cmakelang | |
| run: | | |
| python3 -m pip install cmakelang | |
| - name: Check CMake formatting | |
| run: cmake-format --check $(git ls-files '*.cmake' 'CMakeLists.txt') | |
| python-lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Setup environment | |
| run: | | |
| python3 -m pip install flake8 | |
| - name: Run linter | |
| run: | | |
| python3 -m flake8 . |