Skip to content

Minor cleanup

Minor cleanup #50

name: Run clang-format
on: [push]
jobs:
linter:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: List Contents
shell: bash
run: ls -lhta ${{ github.workspace }} && git -C ${{ github.workspace }} rev-parse HEAD
- uses: DoozyX/[email protected]
with:
source: 'include src tests'
extensions: 'hpp,cxx,hpp.in,h,c'
clangFormatVersion: 15
inplace: True
- uses: EndBug/add-and-commit@v4
with:
author_name: Clang Robot
author_email: [email protected]
message: 'Committing clang-format changes'
env:
GITHUB_TOKEN: ${{ github.token }}