bluer-tools version 0.17.1 #165
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@v3 | |
with: | |
submodules: recursive | |
- name: Install dependencies | |
run: sudo apt-get update && sudo apt-get install libdbus-1-dev | |
- name: Install Rust 1.75 | |
run: rustup set profile default && rustup default 1.75.0 | |
- name: Check code formatting | |
run: cargo fmt -- --check | |
- name: Build | |
run: cargo build --examples --bins --quiet | |
- name: Build documentation | |
run: cargo doc --no-deps --quiet | |
- name: Run tests | |
run: cargo test --quiet | |
- name: Code analysis | |
run: cargo clippy --quiet |