Skip to content

WIP update

WIP update #6

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/clang-format-lint-action@v0.16.2
with:
source: "."
extensions: "h,cpp"
clangFormatVersion: 16
inplace: true
- name: Add & Commit
uses: EndBug/add-and-commit@v9.1.3
with:
message: "ci: formatting"
default_author: github_actions
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}