Skip to content

Update .clang-format #7

Update .clang-format

Update .clang-format #7

Workflow file for this run

name: clang-format
on:
push:
branches: main
paths:
- "include/**"
- "src/**"
- ".clang-format"
workflow_dispatch:
permissions: write-all
jobs:
clang-format:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Run clang-format
uses: DoozyX/[email protected]
with:
source: "."
extensions: "h,cpp"
clangFormatVersion: 16
inplace: true
- name: Add & Commit
uses: EndBug/[email protected]
with:
message: "ci: formatting"
default_author: github_actions
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}