1
0
mirror of https://github.com/bitwarden/browser synced 2026-01-30 16:23:53 +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

@@ -153,6 +153,7 @@ jobs:
env:
RUSTFLAGS: "-D warnings"
RUSTC_WRAPPER: sccache
SCCACHE_GHA_ENABLED: "true"
- name: Cache cargo-sort
id: cache-cargo-sort
@@ -179,6 +180,7 @@ jobs:
run: cargo +nightly udeps --workspace --all-features --all-targets
env:
RUSTC_WRAPPER: sccache
SCCACHE_GHA_ENABLED: "true"
- name: Install cargo-deny
uses: taiki-e/install-action@81ee1d48d9194cdcab880cbdc7d36e87d39874cb # v2.62.45

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