Include missing version header that could cause segfaults with GCC (#… #1048
This file contains 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 | |
on: | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- '**/*.md' | |
- 'docs/**' | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: DoozyX/clang-format-lint-action@v0.18.1 | |
with: | |
source: '.' | |
exclude: '' | |
extensions: 'h,hpp,cpp' | |
clangFormatVersion: 16 | |
style: file | |
inplace: True | |
- uses: EndBug/add-and-commit@v9 | |
with: | |
message: 'Committing clang-format changes' |