name: Rust
on:
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
rust:
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Build without std
run: cargo build --no-default-features
- name: Build with std
run: cargo build
- name: Run tests
run: cargo test --verbose