Add missing imports for no_std #71
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, pull_request] | |
jobs: | |
build-linux: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Check | |
run: cargo check --all-targets | |
- name: Run tests | |
run: cargo test | |
- name: Clean | |
run: cargo clean | |
- name: Check formatting | |
run: cargo fmt -- --check | |
- name: Clippy | |
run: cargo clippy --tests -- -Dwarnings | |
build-windows: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Check | |
run: cargo check --all-targets | |
- name: Run tests | |
run: cargo test | |
- name: Clean | |
run: cargo clean | |
- name: Check formatting | |
run: cargo fmt -- --check | |
- name: Clippy | |
run: cargo clippy --tests -- -Dwarnings |