tools: add sccache to test-internet workflow

PR-URL: https://github.com/nodejs/node/pull/59720
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
Antoine du Hamel 2025-09-04 10:52:20 +02:00 committed by Michaël Zasso
parent 34d752586f
commit 8dbd0f13e8
No known key found for this signature in database
GPG Key ID: 770F7A9A5AE15600

View File

@ -33,8 +33,9 @@ concurrency:
env:
PYTHON_VERSION: '3.12'
FLAKY_TESTS: keep_retrying
CC: clang
CXX: clang++
CC: sccache clang
CXX: sccache clang++
SCCACHE_GHA_ENABLED: 'true'
permissions:
contents: read
@ -51,6 +52,10 @@ jobs:
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Set up sccache
uses: Mozilla-Actions/sccache-action@7d986dd989559c6ecdb630a3fd2557667be217ad # v0.0.9
with:
version: v0.10.0
- name: Environment Information
run: npx envinfo
- name: Build