Merge pull request #51 from tomoyuki-nakabayashi/release/v0.1.6 #74
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 Code Check | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
check-core: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: dtolnay/rust-toolchain@stable | |
with: { components: rustfmt, clippy } | |
- run: cargo fmt --all -- --check | |
working-directory: echonet-lite-core | |
- run: cargo clippy | |
working-directory: echonet-lite-core | |
check-mra-reader: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: dtolnay/rust-toolchain@stable | |
with: { components: rustfmt, clippy } | |
- run: cargo fmt --all -- --check | |
working-directory: mra-reader | |
- run: cargo clippy | |
working-directory: mra-reader |