From 2e06e2012188ba3aaf44b7171ef06b9783079f57 Mon Sep 17 00:00:00 2001 From: Titan Yuan Date: Sat, 14 Dec 2024 13:33:58 -0800 Subject: [PATCH] Update pre-commit hook versions and Github actions --- .github/workflows/ci.yaml | 2 +- .pre-commit-config.yaml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 1958440..3771273 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -7,6 +7,6 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: bazelbuild/setup-bazelisk@v3 + - uses: bazel-contrib/setup-bazel@0.9.1 - run: bazel build //... - run: bazel test --test_output=errors //... diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index aa83696..f2d93e7 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/google/yapf - rev: v0.40.2 + rev: v0.43.0 hooks: - id: yapf args: [-i] @@ -9,11 +9,11 @@ repos: hooks: - id: isort - repo: https://github.com/pre-commit/mirrors-clang-format - rev: v18.1.8 + rev: v19.1.5 hooks: - id: clang-format - repo: https://github.com/keith/pre-commit-buildifier - rev: 6.4.0.1 + rev: 7.3.1.1 hooks: - id: buildifier - id: buildifier-lint