Skip to content

fix: try to fix build #4

fix: try to fix build

fix: try to fix build #4

Workflow file for this run

name: Build & Test
on:
pull_request:
push:
branches:
- main
jobs:
# General build, check, and test steps
build_and_test:
runs-on: ubuntu-latest
steps:
# Setup
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
components: rustfmt, clippy
# Dependencies
- name: Install dependencies
run: sudo apt install libdbus-1-dev pkg-config
# Rust
- name: Check Rust format
run: rustfmt --edition 2021 --check src/main.rs
- name: Rust code analysis
run: cargo clippy -- -D warnings
- name: Run Rust tests
run: cargo test
- name: Build Rust
run: cargo build -r