Something went wrong. Try again.
An experimental, status effects-as-entities system for Bevy.
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576name: CI
on: pull_request: branches: [main]
env: CARGO_TERM_COLOR: always
jobs: # Run cargo test test: name: Test Suite runs-on: ubuntu-latest timeout-minutes: 30 steps: - name: Checkout sources uses: actions/checkout@v4 - name: Cache uses: actions/cache@v4 with: path: | ~/.cargo/bin/ ~/.cargo/registry/index/ ~/.cargo/registry/cache/ ~/.cargo/git/db/ target/ key: ${{ runner.os }}-cargo-test-${{ hashFiles('**/Cargo.toml') }} - name: Install stable toolchain uses: dtolnay/rust-toolchain@stable - name: Install Dependencies run: sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev libwayland-dev - name: Run cargo test run: cargo test
# Run cargo clippy -- -D warnings clippy_check: name: Clippy runs-on: ubuntu-latest timeout-minutes: 30 steps: - name: Checkout sources uses: actions/checkout@v4 - name: Cache uses: actions/cache@v4 with: path: | ~/.cargo/bin/ ~/.cargo/registry/index/ ~/.cargo/registry/cache/ ~/.cargo/git/db/ target/ key: ${{ runner.os }}-cargo-clippy-${{ hashFiles('**/Cargo.toml') }} - name: Install stable toolchain uses: dtolnay/rust-toolchain@stable with: components: clippy - name: Install Dependencies run: sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev libwayland-dev - name: Run clippy run: cargo clippy -- -D warnings
# Run cargo fmt --all -- --check format: name: Format runs-on: ubuntu-latest timeout-minutes: 30 steps: - name: Checkout sources uses: actions/checkout@v4 - name: Install stable toolchain uses: dtolnay/rust-toolchain@stable with: components: rustfmt - name: Run cargo fmt run: cargo fmt --all -- --check