diff --git a/.github/workflows/format.yaml b/.github/workflows/format.yaml index 5f5b350..298c0af 100644 --- a/.github/workflows/format.yaml +++ b/.github/workflows/format.yaml @@ -11,10 +11,10 @@ on: jobs: pre-commit: name: Format - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v4.1.1 + - uses: actions/checkout@v6 - uses: actions/setup-python@v5 - - name: Install clang-format-10 - run: sudo apt-get install clang-format-10 - - uses: pre-commit/action@v3.0.0 + - name: Install clang-format-13 + run: sudo apt-get install clang-format-13 + - uses: pre-commit/action@v3.0.1 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c1ef1cb..8bd58a1 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -15,7 +15,7 @@ repos: # Standard hooks - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.4.0 + rev: v4.5.1 hooks: - id: check-added-large-files - id: check-case-conflict @@ -34,7 +34,7 @@ repos: - id: trailing-whitespace - repo: https://github.com/psf/black - rev: 23.3.0 + rev: 26.1.0 hooks: - id: black @@ -43,7 +43,7 @@ repos: - id: clang-format name: clang-format description: Format files with ClangFormat. - entry: clang-format-10 + entry: clang-format-13 language: system files: \.(c|cc|cxx|cpp|frag|glsl|h|hpp|hxx|ih|ispc|ipp|java|js|m|proto|vert)$ args: ['-fallback-style=none', '-i']