Merge pull request #30 from poliorcetics/binrw-update #65
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: Rust | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Rust Version | |
run: rustc --version | |
- name: Format | |
run: cargo fmt --all -- --check | |
- name: Clippy | |
run: cargo clippy --workspace --all-targets --all-features -- -D warnings | |
- name: Build no_std | |
run: cargo build --workspace --no-default-features | |
- name: Build std | |
run: cargo build --workspace --all-features | |
- name: Tests | |
run: cargo test --workspace --all-features |