Skip to content

Commit 9fca728

Browse files
committed
Add in sccache
1 parent 0f11e40 commit 9fca728

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/premerge.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,15 @@ jobs:
4747
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
4848
with:
4949
fetch-depth: 2
50+
51+
- name: Setup sccache
52+
uses: hendrikmuhs/ccache-action@a1209f81afb8c005c13b4296c32e363431bffea5 # v1.2.17
53+
if: startsWith(matrix.runs-on, 'depot')
54+
with:
55+
max-size: 8G
56+
key: ${{ matrix.runs-on }}
57+
variant: sccache
58+
5059
- name: Build and Test
5160
run: |
5261
git config --global --add safe.directory '*'

0 commit comments

Comments
 (0)