Skip to content

Bump step-security/harden-runner from 2.4.1 to 2.5.0 #554

Bump step-security/harden-runner from 2.4.1 to 2.5.0

Bump step-security/harden-runner from 2.4.1 to 2.5.0 #554

Workflow file for this run

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@cba0d00b1fc9a034e1e642ea0f1103c282990604 # v2.5.0
with:
egress-policy: audit
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- 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