Skip to content

Commit

Permalink
Try to improve speed up format CI
Browse files Browse the repository at this point in the history
  • Loading branch information
smolkaj committed Dec 1, 2023
1 parent 0bad375 commit adc52cd
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,12 @@ jobs:
submodules: recursive

- name: Mount bazel cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: "~/.cache/bazel" # See https://docs.bazel.build/versions/master/output_directories.html
key: bazel_format
key: format-${{ hashFiles('**/*_deps.bzl', '**/*.bazelrc') }}
restore-keys: |
format
- name: Run format.sh
run: ./format.sh
Expand Down

0 comments on commit adc52cd

Please sign in to comment.