Skip to content

Bump step-security/harden-runner from 2.9.0 to 2.9.1 #326

Bump step-security/harden-runner from 2.9.0 to 2.9.1

Bump step-security/harden-runner from 2.9.0 to 2.9.1 #326

Workflow file for this run

name: Clang-format
on:
pull_request:
branches: [ "main" ]
workflow_dispatch:
permissions:
contents: read
jobs:
check-formatting:
name: Formatting Check
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@5c7944e73c4c2a096b17a9cb74d65b6c2bbafbde # v2.9.1
with:
egress-policy: audit
- uses: actions/checkout@v4
- name: Run clang-format style check for C/C++ programs.
uses: jidicula/[email protected]
with:
clang-format-version: '17'
exclude-regex: 'mapistub/*'
fallback-style: 'Microsoft'