build(deps): bump DoozyX/clang-format-lint-action from 0.16 to 0.17 #68
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 linter | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
clang-format: | |
name: clang-format linter | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Format code with clang-format | |
uses: DoozyX/[email protected] | |
with: | |
source: lib tests | |
exclude: .github/ | |
clangFormatVersion: 15 | |
inplace: True | |
- name: Commit changes | |
uses: EndBug/add-and-commit@v9 | |
with: | |
add: lib/ tests/ | |
author_name: cdalvaroBot | |
author_email: [email protected] | |
message: 'Committing clang-format changes' | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |