Update Rust crate toml to v1 #727
This file contains hidden or 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@v6 | |
| - name: Build | |
| run: | | |
| sudo apt update && sudo apt install libdbus-1-dev libbluetooth-dev libpulse-dev -y | |
| cargo build --verbose --no-default-features | |
| - name: test | |
| run: | | |
| sudo apt update && sudo apt install libdbus-1-dev libbluetooth-dev libpulse-dev -y | |
| cargo test --verbose --no-default-features | |
| clippy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: clippy | |
| run: | | |
| sudo apt update && sudo apt install libdbus-1-dev libbluetooth-dev libpulse-dev -y | |
| cargo clippy --no-default-features |