Skip to content

build: attempt to improve CI caching #4

build: attempt to improve CI caching

build: attempt to improve CI caching #4

Workflow file for this run

on: [push, pull_request]
name: Tests
jobs:
tests:
name: Tests
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- uses: swatinem/rust-cache@v2
with:
workspaces: |
mm-server
mm-client
mm-protocol
- uses: actions/checkout@v2
- name: server cargo clippy
run: (cd mm-server && cargo clippy)
- name: client cargo clippy
run: (cd mm-client && cargo clippy)
- name: protocol cargo clippy
run: (cd mm-protocol && cargo clippy)
- name: server tests
run: (cd mm-server && cargo test)
- name: client tests
run: (cd mm-client && cargo test)
- name: protocol tests
run: (cd mm-protocol && cargo test)