Fix #417: scalar function folds under a uniform rule contract + close trig gaps #1597
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: Clang Format Check | |
| on: | |
| push: | |
| branches: [ "**" ] | |
| pull_request: | |
| branches: [ "**" ] | |
| jobs: | |
| clang-format: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install clang-format-18 | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y clang-format-18 | |
| - name: Run clang-format | |
| run: | | |
| find . -regex '.*\.\(cpp\|hpp\|c\|h\)' \ | |
| -not -path './build/*' \ | |
| -not -path './.git/*' \ | |
| -print0 \ | |
| | xargs -0 clang-format-18 --dry-run --Werror |