Merge pull request #87 from Bobbyclue/CarryWeight-Functions #487
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Scripted maintenance | |
on: push | |
jobs: | |
maintenance: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: '3.9' | |
- name: Run clang-format | |
run: find -type f \( -name *.h -o -name *.cpp \) | xargs clang-format-12 -style=file -i | |
- name: Glob files | |
run: python ${{ github.workspace }}/scripts/cmake_generate.py | |
- uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: maintenance |