Skip to content

Change to a more restricted dictionary that is hopefully more fun #281

Change to a more restricted dictionary that is hopefully more fun

Change to a more restricted dictionary that is hopefully more fun #281

Workflow file for this run

name: Test
on:
push:
branches: ["staging", "main"]
pull_request:
branches: ["staging", "main"]
env:
CARGO_TERM_COLOR: always
jobs:
test:
name: Test
runs-on: ${{matrix.os}}
defaults:
run:
shell: bash
strategy:
matrix:
workspace: [truncate_core, truncate_client, truncate_server]
include:
- build: linux
os: ubuntu-latest
rust: beta
target: x86_64-unknown-linux-musl
steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
fetch-depth: 1
- name: Cache
uses: actions/cache@v2
with:
path: |
~/.cargo/registry
~/.cargo/git
~/.rustup
target
key: ${{ runner.os }}-${{ matrix.rust }}
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
target: ${{ matrix.target }}
override: true
default: true
components: rustfmt, clippy
- name: Test
working-directory: ./${{ matrix.workspace }}
run: cargo test