From 18be5692a341f6fa624b99e425267f90bb915646 Mon Sep 17 00:00:00 2001 From: Jon Meow <46229924+jonmeow@users.noreply.github.com> Date: Thu, 27 Jan 2022 16:22:26 -0800 Subject: [PATCH] Remove submodules from actions, and enable more pre-commits (#1051) --- .github/workflows/pre-commit.yaml | 6 +++--- .github/workflows/tests.yaml | 3 --- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/pre-commit.yaml b/.github/workflows/pre-commit.yaml index 3a06a20c5800..533b9167d0d9 100644 --- a/.github/workflows/pre-commit.yaml +++ b/.github/workflows/pre-commit.yaml @@ -14,9 +14,9 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - with: - submodules: true - uses: actions/setup-python@v2 - uses: pre-commit/action@v2.0.2 env: - SKIP: bazel-buildifier,clang-format-whole-file,fix-cc-deps + # bazel-buildifier relies on a locally installed copy. + # clang-format-whole-file has races in cache creation. + SKIP: bazel-buildifier,clang-format-whole-file diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index bce1919dceb1..94fd99859e82 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -39,13 +39,10 @@ jobs: uses: actions/checkout@v2 with: ref: ${{ github.event.pull_request.head.sha }} - submodules: true - name: Checkout branch if: github.event_name != 'pull_request_target' uses: actions/checkout@v2 - with: - submodules: true # Setup Python and related tools. - uses: actions/setup-python@v2