Skip to content

Update bevy requirement from 0.12 to 0.13 #20

Update bevy requirement from 0.12 to 0.13

Update bevy requirement from 0.12 to 0.13 #20

Workflow file for this run

name: Rust
on:
push:
branches: [debug, main, release]
pull_request:
branches: [main]
env:
CARGO_TERM_COLOR: always
RUSTFLAGS: -D warnings
jobs:
build:
strategy:
matrix:
toolchain: [stable, nightly]
os: [windows-latest, ubuntu-latest, macos-latest]
exclude:
- os: macos-latest
toolchain: nightly
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
components: rustfmt, clippy
toolchain: ${{ matrix.toolchain }}
- name: fmt
if: matrix.toolchain == 'nightly'
run: cargo fmt --all -- --check
- name: check
run: cargo check
- name: update & install
if: runner.os == 'linux'
run: sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev
- name: build & test
run: cargo test --verbose
- name: clippy
run: cargo clippy --all