mirror of
https://github.com/Swatinem/rust-cache
synced 2026-06-10 02:37:12 +00:00
- update to TS6 - replace ncc by rollup, which seems to now be the recommended workflow according to <https://github.com/actions/typescript-action> - remove buildjet provider, as they are shutting down, see <https://buildjet.com/for-github-actions/blog/we-are-shutting-down>
37 lines
810 B
YAML
37 lines
810 B
YAML
name: warpbuild
|
|
|
|
on: [push, pull_request]
|
|
|
|
permissions: {}
|
|
|
|
jobs:
|
|
warpbuild:
|
|
if: github.repository == 'Swatinem/rust-cache'
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
os: [ubuntu-latest, macos-latest, windows-latest]
|
|
|
|
name: Test warpbuild provider on ${{ matrix.os }}
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
env:
|
|
CARGO_TERM_COLOR: always
|
|
|
|
steps:
|
|
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
with:
|
|
persist-credentials: false
|
|
|
|
- run: rustup toolchain install stable --profile minimal --no-self-update
|
|
|
|
- uses: ./
|
|
with:
|
|
workspaces: tests
|
|
cache-provider: warpbuild
|
|
|
|
- run: |
|
|
cargo check
|
|
cargo test
|
|
cargo build --release
|
|
working-directory: tests
|