CI: Update clang format/tidy pre-commit versions

This commit is contained in:
Thaddeus Crews 2024-11-04 23:52:58 -06:00
parent b00e1cbf74
commit f2d036340c
No known key found for this signature in database
GPG Key ID: 62181B86FE9E5D84

View File

@ -9,7 +9,7 @@ exclude: |
repos:
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v19.1.0
rev: v19.1.3
hooks:
- id: clang-format
files: \.(c|h|cpp|hpp|cc|hh|cxx|hxx|m|mm|inc|java)$
@ -22,7 +22,7 @@ repos:
)
- id: clang-format
name: clang-format-glsl
files: \.(glsl)$
files: \.glsl$
types_or: [text]
exclude: |
(?x)^(
@ -30,7 +30,7 @@ repos:
platform/android/java/editor/src/main/java/com/android/.*|
platform/android/java/lib/src/com/.*
)
args: ["-style=file:misc/utility/.clang-format-glsl"]
args: ['-style=file:misc/utility/.clang-format-glsl']
- repo: https://github.com/pocc/pre-commit-hooks
rev: v1.3.5
@ -45,7 +45,7 @@ repos:
platform/android/java/editor/src/main/java/com/android/.*|
platform/android/java/lib/src/com/.*
)
additional_dependencies: [clang-tidy==18.1.1]
additional_dependencies: [clang-tidy==19.1.0]
require_serial: true
stages: [manual] # Not automatically triggered, invoked via `pre-commit run --hook-stage manual clang-tidy`