Renamed README.MacOSX to README.macOS and completely rewrote the file… #305
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: Formatting | |
on: [push, pull_request] | |
jobs: | |
astyle: | |
name: C++ astyle Lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install astyle | |
run: sudo apt-get install astyle | |
- name: Check formatting | |
run: | | |
astyle --style=allman -nxjQ --convert-tabs --max-code-length=120 --recursive './*.cxx' './*.cpp' './*.h' | |
git diff --exit-code |