tools: add sccache to `test-internet` workflow · nodejs/node@8dbd0f1

Original file line numberDiff line numberDiff line change

@@ -33,8 +33,9 @@ concurrency:

3333

env:

3434

PYTHON_VERSION: '3.12'

3535

FLAKY_TESTS: keep_retrying

36-

CC: clang

37-

CXX: clang++

36+

CC: sccache clang

37+

CXX: sccache clang++

38+

SCCACHE_GHA_ENABLED: 'true'

3839
3940

permissions:

4041

contents: read

@@ -51,6 +52,10 @@ jobs:

5152

uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0

5253

with:

5354

python-version: ${{ env.PYTHON_VERSION }}

55+

- name: Set up sccache

56+

uses: Mozilla-Actions/sccache-action@7d986dd989559c6ecdb630a3fd2557667be217ad # v0.0.9

57+

with:

58+

version: v0.10.0

5459

- name: Environment Information

5560

run: npx envinfo

5661

- name: Build