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 1010 target_repo :
1111 description : ' Target repository to test against'
1212 required : false
13- default : ' python/cpython '
13+ default : ' llvm/llvm-project '
1414 clang_version :
1515 description : ' Clang version to use'
1616 required : false
1717 default : ' 20'
1818 style :
1919 description : ' Clang-format style'
2020 required : false
21- default : ' Google '
21+ default : ' file '
2222
2323jobs :
2424 e2e-test :
3939
4040 - name : Clone target repository
4141 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
4343
4444 - name : Replace pre-commit configuration
4545 run : |
5252 hooks:
5353 - id: clang-format
5454 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
5755 EOF
5856
5957 - name : Install and run hook
You can’t perform that action at this time.
0 commit comments