File tree 2 files changed +7
-4
lines changed
2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 10
10
branches :
11
11
- main
12
12
13
+ permissions :
14
+ contents : read # to fetch code (actions/checkout)
15
+
13
16
jobs :
14
17
pre-commit :
15
18
name : Format
16
- runs-on : ubuntu-22.04
19
+ runs-on : ubuntu-latest
17
20
steps :
18
21
- uses : actions/checkout@v3
19
22
- uses : actions/setup-python@v4
20
23
with :
21
24
python-version : ' 3.10'
22
- - name : Install clang-format-12
23
- run : sudo apt-get install clang-format-12
25
+ - name : Install clang-format-14
26
+ run : sudo apt-get install clang-format-14
24
27
-
uses :
pre-commit/[email protected]
Original file line number Diff line number Diff line change 37
37
- id : clang-format
38
38
name : clang-format
39
39
description : Format files with ClangFormat.
40
- entry : clang-format-12
40
+ entry : clang-format-14
41
41
language : system
42
42
files : \.(c|cc|cxx|cpp|frag|glsl|h|hpp|hxx|ih|ispc|ipp|java|js|m|proto|vert)$
43
43
args : ['-fallback-style=none', '-i']
You can’t perform that action at this time.
0 commit comments