File tree 2 files changed +23
-3
lines changed
2 files changed +23
-3
lines changed Original file line number Diff line number Diff line change
1
+ name : Pre-commit check
2
+
3
+ on :
4
+ pull_request :
5
+ jobs :
6
+ lint :
7
+ name : Check if any auto-fixes are needed
8
+ runs-on : ubuntu-latest
9
+ steps :
10
+ - uses : actions/checkout@v3
11
+ with :
12
+ fetch-depth : 0
13
+ - uses : actions/setup-python@v4
14
+ with :
15
+ python-version : 3.x
16
+ - id : changed-files
17
+ uses : tj-actions/changed-files@v36
18
+ -
uses :
pre-commit/[email protected]
19
+ -
uses :
pre-commit-ci/[email protected]
20
+ if : always()
Original file line number Diff line number Diff line change 12
12
args : [--fix=lf]
13
13
- id : trailing-whitespace
14
14
args : [--markdown-linebreak-ext=md]
15
- - repo : https://github.com/jlebar/ pre-commit-hooks
16
- rev : ' master '
15
+ - repo : https://github.com/pre-commit/mirrors-clang-format
16
+ rev : ' v15.0.7 '
17
17
hooks :
18
- - id : clang-format-diff-15.0.0
18
+ - id : clang-format
19
19
files : \.((((c|C)(c|pp|xx|\+\+)?$)|((h|H)h?(pp|xx|\+\+)?$))|(ino))$
You can’t perform that action at this time.
0 commit comments