faust: port to verdigris too #18
This file contains hidden or 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: "Check Format" | |
| on: [push, pull_request] | |
| jobs: | |
| format: | |
| name: "Check Clang Format" | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: "Install clang-format-9" | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install clang-format-9 | |
| - name: "Format Codes" | |
| run: clang-format-9 -i src/internal/*.cpp include/internal/*.hpp | |
| - name: Check diff | |
| run: git diff --exit-code HEAD |