Skip to content

build-caches

build-caches #493

Workflow file for this run

on:
push:
branches: [master]
schedule:
- cron: "30 3 * * 1"
env:
SCCACHE_GHA_ENABLED: true
RUSTC_WRAPPER: sccache
name: build-caches
jobs:
test:
name: build rust caches
runs-on: ${{ matrix.os }}
strategy:
matrix:
toolchain: [1.89.0, stable, beta, nightly]
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v5
- id: toolchain
uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.toolchain }}
- name: Run sccache-cache
uses: mozilla-actions/[email protected]
- name: Build cache
run: |
cargo test --locked
cargo build --locked