1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-02 09:43:29 +00:00

Enable GHA for sccache

This commit is contained in:
Anders Åberg
2025-12-16 01:59:58 +01:00
parent 03c0b18269
commit 4e43cd5515
2 changed files with 6 additions and 0 deletions

View File

@@ -125,6 +125,7 @@ jobs:
run: cargo build
env:
RUSTC_WRAPPER: sccache
SCCACHE_GHA_ENABLED: "true"
- name: Test Ubuntu
if: ${{ matrix.os=='ubuntu-22.04' }}
@@ -138,6 +139,7 @@ jobs:
cargo test -- --test-threads=1
env:
RUSTC_WRAPPER: sccache
SCCACHE_GHA_ENABLED: "true"
- name: Test macOS
if: ${{ matrix.os=='macos-14' }}
@@ -145,6 +147,7 @@ jobs:
run: cargo test -- --test-threads=1
env:
RUSTC_WRAPPER: sccache
SCCACHE_GHA_ENABLED: "true"
- name: Test Windows
if: ${{ matrix.os=='windows-2022'}}
@@ -152,6 +155,7 @@ jobs:
run: cargo test --workspace --exclude=desktop_napi -- --test-threads=1
env:
RUSTC_WRAPPER: sccache
SCCACHE_GHA_ENABLED: "true"
rust-coverage:
name: Rust Coverage