Skip to content

Fix action

Fix action #2

Workflow file for this run

name: clang-format
on:
push:
branches: main
jobs:
maintenance:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@latest
- name: Run clang-format
uses: DoozyX/[email protected]
with:
source: "."
extensions: "h, cpp"
clangFormatVersion: 16
inplace: true
- name: Add & Commit
uses: EndBug/add-and-commit@latest
with:
message: "ci: formatting"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}