Skip to content

some doc improvements #364

some doc improvements

some doc improvements #364

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:
matrix:
features: ["--no-default-features", "--features avian2d", "--features avian3d", "--features debug-with-gizmos"]
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
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