Skip to content

Update to bevy 0.15 #391

Update to bevy 0.15

Update to bevy 0.15 #391

Workflow file for this run

name: CI
on:
push:
pull_request:
jobs:
format:
name: Format
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- name: Check format
run: |
cargo fmt --all -- --check
clippy:
name: Clippy
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install stable toolchain
uses: dtolnay/rust-toolchain@stable
- name: Run clippy
run: |
cargo clippy --all-features -- -D warnings
checks:
name: Checks
strategy:
fail-fast: false
matrix:
features: ["--no-default-features", "--features avian2d", "--features avian3d", "--features debug-with-gizmos", "--features detailed-layers"]
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install stable toolchain
uses: dtolnay/rust-toolchain@stable
- name: Run clippy
run: |
cargo check ${{ matrix.features }}
tests:
name: Tests
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install stable toolchain
uses: dtolnay/rust-toolchain@stable
- name: Run tests
run: |
cargo test
tests-with-layers:
name: Tests (layers)
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install stable toolchain
uses: dtolnay/rust-toolchain@stable
- name: Run tests
run: |
cargo test --features detailed-layers