Increase result buffer size 512 to 5120 bytes for longer stack traces #289
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
| name: Formatting | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| workflow_dispatch: | |
| inputs: | |
| do_formatting: | |
| description: "Run clang-format inplace formatting and commit the result" | |
| required: true | |
| default: "false" | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: DoozyX/clang-format-lint-action@v0.15 | |
| if: ${{ github.event_name != 'workflow_dispatch' || github.event.inputs.do_formatting != 'true' }} | |
| with: | |
| source: "source" | |
| extensions: "inl,h,hpp,cpp" | |
| clangFormatVersion: 15 | |
| - uses: DoozyX/clang-format-lint-action@v0.15 | |
| if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.do_formatting == 'true' }} | |
| with: | |
| source: "source" | |
| extensions: "inl,h,hpp,cpp" | |
| clangFormatVersion: 15 | |
| inplace: true | |
| - uses: EndBug/add-and-commit@v4 | |
| if: ${{ success() && github.event_name == 'workflow_dispatch' && github.event.inputs.do_formatting == 'true' }} | |
| with: | |
| author_name: Clang-Format Bot | |
| author_email: vingine.dev@gmail.com | |
| message: "Automated clang-format changes" | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |