Skip to content

clang-format Check #1591

clang-format Check

clang-format Check #1591

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@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- 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 }}