fixup! Pin dependencies #1700
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: clang-format | |
| on: [push, pull_request] | |
| permissions: | |
| contents: read | |
| jobs: | |
| check-clang-format: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Harden Runner | |
| uses: step-security/harden-runner@f4a75cfd619ee5ce8d5b864b0d183aff3c69b55a # v2.13.1 | |
| with: | |
| egress-policy: audit | |
| - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
| - name: Update npm | |
| run: npm install npm@latest -g | |
| - run: npm ci --ignore-scripts | |
| - name: check clang-format | |
| run: | | |
| git config clangFormat.binary node_modules/.bin/clang-format | |
| git config clangFormat.style file | |
| npx check-clang-format |