Skip to content

Commit 9cd943c

Browse files
committed
adding Shared keyword
1 parent 5e3f0b9 commit 9cd943c

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

.github/workflows/github-ci.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,17 @@ jobs:
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

0 commit comments

Comments
 (0)