Skip to content

Replace rust-cache with sccache-cache #89

Replace rust-cache with sccache-cache

Replace rust-cache with sccache-cache #89

Workflow file for this run

name: Test
on:
push:
branches:
- "master"
pull_request:
env:
RUST_BACKTRACE: 1
jobs:
test:
name: Test
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
rust: [stable]
steps:
- uses: actions/checkout/@v4
- name: Install rust-toolchain
uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
- name: Install cargo-nextest
uses: taiki-e/install-action@v2
with:
tool: nextest
- name: Run sccache-cache
uses: mozilla-actions/sccache-action@v0.0.6
env:
SCCACHE_GHA_ENABLED: "true"
RUSTC_WRAPPER: "sccache"
- name: Run Test
run: |
cargo nextest run