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