Upgrade to Bevy 0.14.0-rc.* #73
Workflow file for this run
This file contains 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
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 |