Repository navigation
Fix libcc2rs map implementation so it doesn't duplicate the key #2060
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: 23 | |
| - 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.9.8 --check "src/**/*.md" | |
| working-directory: docs |