Skip to content

build(deps): bump actions/upload-artifact from 3 to 4 #65

build(deps): bump actions/upload-artifact from 3 to 4

build(deps): bump actions/upload-artifact from 3 to 4 #65

Workflow file for this run

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 }}