Merge pull request #21 from mageowl/patch-1 #24
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: | |
- pull_request | |
- push | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- run: rustup component add rustfmt | |
- run: cargo fmt --all -- --check | |
- run: rustup component add clippy | |
- run: cargo clippy --all-targets --all-features -- -D warnings | |
- run: cargo build --verbose | |
- run: cargo test --verbose |