Repository navigation
Fix spurious .reinterpret_cast::<T>() insertion from whitespace mismatch in pointee-type comparison
#1337
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: Format Check | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| format: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v7 | |
| - name: Setup LLVM | |
| uses: ZhongRuoyu/setup-llvm@v0 | |
| with: | |
| llvm-version: 22 | |
| - name: Setup Python | |
| run: pip install ruff==0.15.22 | |
| - name: Configure | |
| run: cmake -GNinja -B build -S . | |
| - name: Format files | |
| run: ninja format | |
| working-directory: build | |
| - name: Check format | |
| run: git diff --exit-code | |
| - name: Check markdown formatting | |
| run: npx prettier@3.6.2 --check "src/**/*.md" | |
| working-directory: docs |