Skip to content

clang-format Check #1502

clang-format Check

clang-format Check #1502

name: clang-format Check
on: [push, pull_request]
permissions:
contents: read
jobs:
formatting-check:
name: Formatting Check
runs-on: ubuntu-latest
strategy:
matrix:
path:
- 'prov/sm2'
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Run clang-format style check for C/C++/Protobuf programs.
uses: jidicula/clang-format-action@c74383674bf5f7c69f60ce562019c1c94bc1421a # v4.13.0
with:
clang-format-version: '15'
check-path: ${{ matrix.path }}