Add clang-21 to build #230
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: pre-commit | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| checks: | |
| runs-on: | |
| group: runners-arm64 | |
| container: libfn.azurecr.io/ci-pre-commit:latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Prepare | |
| run: | | |
| # Required because of https://github.com/actions/checkout/issues/766 | |
| git config --global --add safe.directory "${GITHUB_WORKSPACE}" | |
| pip freeze --local | |
| - name: Apply pre-commit | |
| run: | | |
| pre-commit run --show-diff-on-failure --color=always --all-files |