This repository has been archived by the owner on Aug 16, 2023. It is now read-only.
Make MQTT optional but default #63
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: CI | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3.1.0 | |
- uses: actions-rs/toolchain@v1.0.7 | |
with: | |
profile: minimal | |
toolchain: stable | |
components: rustfmt, clippy | |
- uses: Swatinem/rust-cache@v2.0.0 | |
- run: cargo check | |
- run: cargo fmt --all --check | |
- run: cargo clippy --all-features -- -D warnings | |
- run: cargo build --release --all-features | |
- run: cargo test --all-features --verbose | |
env: | |
RUST_BACKTRACE: 1 |