Fixes #54
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ${{matrix.os}} | |
strategy: | |
fail-fast: true | |
matrix: | |
os: [macos-latest, ubuntu-latest, windows-latest] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Check formatting | |
run: | | |
rustup component add rustfmt | |
rustup component add clippy | |
cargo fmt -- --check | |
cargo clippy --all-features --verbose -- -Dwarnings | |
- name: Build | |
run: cargo build --verbose | |
- name: Run tests | |
run: cargo test --all-features |