changing CMAKE_SOURCE_DIR to CMAKE_CURRENT_SOURCE_DIR for Windows Ope… #25
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 Checks | |
| on: [push, pull_request] | |
| concurrency: | |
| group: ci-${{ github.actor }}-${{ github.head_ref || github.run_number }}-${{ github.ref }}-static | |
| jobs: | |
| static-checks: | |
| name: Code style and file formatting | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 2 | |
| - name: Install Python dependencies and general setup | |
| run: | | |
| git config diff.wsErrorHighlight all | |
| - name: Style checks via pre-commit | |
| uses: pre-commit/action@v3.0.1 | |
| with: | |
| extra_args: --all-files |