Skip to content

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

CI: add clang-format-check.yml

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

Workflow file for this run

name: formatting with 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/clang-format-action@v4.13.0
with:
clang-format-version: '16'
check-path: 'src/pbrt'