-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
25 additions
and
1 deletion.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,25 @@ | ||
# action-clang-format | ||
# C/C++ Style Guide Github Action | ||
--- | ||
Github Action applying the LLVM clang format to C/C++ code. | ||
|
||
This Action checks the code using [clang-format](https://releases.llvm.org/10.0.0/docs/index.html) with the default LLVM configuration. | ||
|
||
## Features | ||
--- | ||
* Checks C/C++ code formatting | ||
* Supports push triggers | ||
* Future Enhancement: support automatic formatting and commit | ||
|
||
## Usage | ||
--- | ||
```bash | ||
on: push | ||
|
||
jobs: | ||
format: | ||
name: clang formatting | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: unspun/[email protected] | ||
``` |