Skip to content

Merge pull request #79 from burtonageo/update_egui #91

Merge pull request #79 from burtonageo/update_egui

Merge pull request #79 from burtonageo/update_egui #91

Workflow file for this run

on: [push, pull_request]
name: Rust
jobs:
fmt-crank-check-test:
name: format + check + test
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: 1.72.0
- name: install dependencies
run: sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev
- name: cache
uses: Swatinem/rust-cache@v2
- name: fmt
run: cargo fmt --all -- --check
- name: install cargo-cranky
uses: baptiste0928/cargo-install@v1
with:
crate: cargo-cranky
- name: check --all-features
run: cargo check --all-features --all-targets
- name: test doc-tests
run: cargo test --doc --all-features
- name: test
run: cargo test --all-features
- name: cranky
run: cargo cranky --all-targets --all-features -- -D warnings
- name: cranky --release
run: cargo cranky --all-targets --all-features --release -- -D warnings