Skip to content

github/actions: Add "-Werror" to CI build check runs #2017

github/actions: Add "-Werror" to CI build check runs

github/actions: Add "-Werror" to CI build check runs #2017

name: clang-format Check
on: [push, pull_request]
jobs:
formatting-check:
name: Formatting Check
runs-on: ubuntu-latest
strategy:
matrix:
path:
- 'prov/sm2'
steps:
- uses: actions/checkout@v4
- name: Run clang-format style check for C/C++/Protobuf programs.
uses: jidicula/[email protected]
with:
clang-format-version: '15'
check-path: ${{ matrix.path }}