fix sum rcpp error on Unix systems (cpp11test) - replaces #439 #890
Workflow file for this run
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
| on: | |
| push: | |
| branches: main | |
| pull_request: | |
| branches: | |
| - main | |
| name: format_check | |
| jobs: | |
| format_check: | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Install ClangFormat | |
| run: sudo apt-get install -y clang-format-12 | |
| - name: Run ClangFormat | |
| run: make format clang_format=clang-format-12 | |
| - name: Check for a non-empty diff | |
| run: git diff-files -U --exit-code |