File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -47,12 +47,19 @@ jobs:
47
47
rm -f .pre-commit-config.yaml
48
48
cat > .pre-commit-config.yaml << 'EOF'
49
49
repos:
50
- - repo: https://github.com/cpp-linter/cpp-linter-hooks
51
- rev: main
50
+ - repo: https://github.com/pre-commit/mirrors-clang-format
51
+ rev: v20.1.7
52
52
hooks:
53
53
- id: clang-format
54
- args: [--style=${{ github.event.inputs.style || 'Google' }}, --version=${{ github.event.inputs.clang_version || '20' }}]
55
54
EOF
55
+ # cat > .pre-commit-config.yaml << 'EOF'
56
+ # repos:
57
+ # - repo: https://github.com/cpp-linter/cpp-linter-hooks
58
+ # rev: main
59
+ # hooks:
60
+ # - id: clang-format
61
+ # args: [--style=${{ github.event.inputs.style || 'Google' }}, --version=${{ github.event.inputs.clang_version || '20' }}]
62
+ # EOF
56
63
57
64
- name : Install and run hook
58
65
run : |
You can’t perform that action at this time.
0 commit comments