mirror of
https://github.com/Swatinem/rust-cache.git
synced 2025-08-14 12:45:11 +00:00
37 lines
833 B
YAML
37 lines
833 B
YAML
name: workspaces
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
workspaces:
|
|
if: github.repository == 'Swatinem/rust-cache'
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
os: [ubuntu-latest, macos-latest, windows-latest]
|
|
|
|
name: Test multiple workspaces on ${{ matrix.os }}
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
env:
|
|
CARGO_TERM_COLOR: always
|
|
|
|
steps:
|
|
- uses: actions/checkout@v5
|
|
|
|
- run: rustup toolchain install stable --profile minimal --target wasm32-unknown-unknown --no-self-update
|
|
|
|
- uses: ./
|
|
with:
|
|
workspaces: |
|
|
tests
|
|
tests/wasm-workspace
|
|
|
|
- name: cargo check (tests)
|
|
working-directory: tests
|
|
run: cargo check
|
|
|
|
- name: cargo check (tests/wasm-workspace)
|
|
working-directory: tests/wasm-workspace
|
|
run: cargo check
|