Skip to content
This repository was archived by the owner on Aug 6, 2026. It is now read-only.

Dproano/clean live logs #312

Dproano/clean live logs

Dproano/clean live logs #312

Workflow file for this run

name: CI
on:
pull_request:
push:
branches: ["main"]
jobs:
rust-ci:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install system dependencies (libudev)
run: sudo apt-get update && sudo apt-get install -y libudev-dev
- name: Set toolchain env
run: echo "toolchain=stable" >> $GITHUB_ENV
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
- name: Cache Cargo
uses: Swatinem/rust-cache@v2
- name: Cargo Format (fail on bad formatting)
run: cargo fmt --all --check
- name: Cargo Build (fails on errors, but not on warnings)
run: cargo build --all-targets
- name: Show Warnings in PR (does not stop PR merge)
run: |
echo "Compiler warnings:"
cargo check --all-targets --message-format short
continue-on-error: true