Fixed compile error and updated workflows #779
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: Run clang-format Linter | |
on: [push] | |
jobs: | |
format: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: DoozyX/[email protected] | |
with: | |
source: "./src" | |
exclude: "./src/libs" | |
extensions: "h,cpp,c,ino" | |
clangFormatVersion: 12 | |
inplace: True | |
- uses: EndBug/add-and-commit@v4 | |
with: | |
author_name: Clang Robot | |
author_email: [email protected] | |
message: "Committing clang-format changes" |