From 6b022a76dda74e9c758e9413a5a41af17bc53b4d Mon Sep 17 00:00:00 2001 From: Robin Linden Date: Sun, 22 Oct 2023 22:31:15 +0200 Subject: [PATCH] ci: Add caching to the clang-tidy job --- .github/workflows/ci.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index b5453805..f24052b5 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -233,6 +233,11 @@ jobs: timeout-minutes: 30 steps: - uses: actions/checkout@v4 + - uses: actions/cache@v3 + with: + path: ~/.cache/bazel + key: clang_tidy-${{ hashFiles('.bazelversion', 'WORKSPACE', 'third_party/**') }} + restore-keys: clang_tidy- - name: Set up the llvm repository run: | wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -