Skip to content

CI: add clang-format-check.yml #7

CI: add clang-format-check.yml

CI: add clang-format-check.yml #7

name: formatting check (clang-format-16)
on:
push:
branches: [ "*" ]
pull_request:
branches: [ "*" ]
workflow_dispatch:
jobs:
formatting-check:
name: formatting check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run clang-format style check for C/C++/Protobuf programs.
uses: jidicula/[email protected]
with:
clang-format-version: '16'
check-path: 'src/pbrt'