File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed
Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change 4545 name : Format
4646 runs-on : ubuntu-22.04
4747 steps :
48- - name : Run sccache-cache
49- uses :
mozilla-actions/[email protected] 5048 - uses : actions/checkout@v2
49+
50+ # Setup caching for pre-commit environments
51+ - name : Cache pre-commit
52+ uses : actions/cache@v3
53+ with :
54+ path : ~/.cache/pre-commit
55+ key : ${{ runner.os }}-pre-commit-${{ hashFiles('.pre-commit-config.yaml') }}
56+ restore-keys : |
57+ ${{ runner.os }}-pre-commit-
58+
5159 # Required for pre-commit
5260 - run : pip3 install cpplint==1.5.5
5361 # NOTE: This is deprecated in favor of pre-commit.ci
@@ -146,7 +154,7 @@ jobs:
146154 - name : Archive benchmark results
147155 uses : actions/upload-artifact@v4
148156 with :
149- name : bench_hexl_${{github.sha}}_${{github.run_id}}_${{github.job}}_${{matrix.os}}_${{matrix.build_type}}_ ${{matrix.shared_lib}}
157+ name : bench_hexl_${{github.sha}}_${{github.run_id}}_${{github.job}}_${{matrix.os}}_${{matrix.build_type}}_Shared_ ${{matrix.shared_lib}}
150158 path : ${{ github.workspace }}/${{ github.workflow }}_${{ github.sha }}
151159 retention-days : 90 # Maximum for free version
152160
You can’t perform that action at this time.
0 commit comments