Fix on drag handle action. #333
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 C++ Formatting | |
| on: | |
| push: | |
| workflow_dispatch: | |
| jobs: | |
| check-cpp: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Setup clang-format | |
| run: ./formatters/setup-clang-format-docker.sh | |
| - name: Format C++ | |
| run: ./formatters/format-cpp.sh | |
| - name: Check for changes | |
| run: | | |
| git ls-files -m | |
| if [[ `git ls-files -m` ]]; then echo "Detected C++ formatting errors!" & exit 1; fi |