build(deps): bump actions/upload-artifact from 3 to 4 #65
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/clang-format-lint-action@v0.16 | |
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: githubbot@cdalvaro.io | |
message: 'Committing clang-format changes' | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |