Skip to content

Commit

Permalink
ci: Add caching to the clang-tidy job
Browse files Browse the repository at this point in the history
  • Loading branch information
robinlinden committed Oct 22, 2023
1 parent 3d8a524 commit 6b022a7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 -
Expand Down

0 comments on commit 6b022a7

Please sign in to comment.