Skip to content

Update launch_demon.py #7

Update launch_demon.py

Update launch_demon.py #7

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
env:
CARGO_TERM_COLOR: always
jobs:
build-and-test:
name: Rust ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install latest stable Rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
components: clippy, rustfmt
- name: Cache cargo registry & build
uses: Swatinem/rust-cache@v2
with:
workspaces: "."
- name: Format check (rustfmt)
run: cargo fmt --all -- --check
- name: Clippy check (all features, no default)
run: cargo clippy --all-targets --all-features -- -D warnings
- name: Run tests
run: cargo test --verbose
- name: Build (release)
run: cargo build --release --verbose