Bump the all group across 1 directory with 42 updates #1545
This file contains 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@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1 | |
with: | |
egress-policy: audit | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- run: npm install | |
- name: check clang-format | |
run: | | |
git config clangFormat.binary node_modules/.bin/clang-format | |
git config clangFormat.style file | |
npx check-clang-format |