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:
4747 rm -f .pre-commit-config.yaml
4848 cat > .pre-commit-config.yaml << 'EOF'
4949 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
5252 hooks:
5353 - id: clang-format
54- args: [--style=${{ github.event.inputs.style || 'Google' }}, --version=${{ github.event.inputs.clang_version || '20' }}]
5554 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
5663
5764 - name : Install and run hook
5865 run : |
You can’t perform that action at this time.
0 commit comments