File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change 10
10
target_repo :
11
11
description : ' Target repository to test against'
12
12
required : false
13
- default : ' python/cpython '
13
+ default : ' llvm/llvm-project '
14
14
clang_version :
15
15
description : ' Clang version to use'
16
16
required : false
17
17
default : ' 20'
18
18
style :
19
19
description : ' Clang-format style'
20
20
required : false
21
- default : ' Google '
21
+ default : ' file '
22
22
23
23
jobs :
24
24
e2e-test :
39
39
40
40
- name : Clone target repository
41
41
run : |
42
- git clone --depth=1 https://github.com/${{ github.event.inputs.target_repo || 'python/cpython ' }}.git test-repo
42
+ git clone --depth=1 https://github.com/${{ github.event.inputs.target_repo || 'llvm/llvm-project ' }}.git test-repo
43
43
44
44
- name : Replace pre-commit configuration
45
45
run : |
52
52
hooks:
53
53
- id: clang-format
54
54
args: [--style=${{ github.event.inputs.style || 'Google' }}, --version=${{ github.event.inputs.clang_version || '20' }}]
55
- files: ^(.*\.(c|cc|cpp|cxx|h|hpp|hxx))$
56
- exclude: Modules/_ctypes/cfield.c
57
55
EOF
58
56
59
57
- name : Install and run hook
You can’t perform that action at this time.
0 commit comments