Skip to content

Update bevy requirement from 0.14 to 0.15 #220

Update bevy requirement from 0.14 to 0.15

Update bevy requirement from 0.14 to 0.15 #220

Workflow file for this run

name: Rust
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
env:
CARGO_TERM_COLOR: always
RUST_VERSION: 1.79.0
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v3
- name: Install rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ env.RUST_VERSION }}
override: true
profile: minimal
- run: cargo check --all-targets
- run: cargo test --no-default-features
- run: cargo test
- run: cargo test --all-features
- run: cargo test --all-features -- --ignored
code-style:
runs-on: ubuntu-latest
env:
RUSTFLAGS: "-D warnings"
steps:
- uses: actions/checkout@v3
- name: Install rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ env.RUST_VERSION }}
override: true
components: clippy, rustfmt
- run: cargo fmt --all -- --check
- run: cargo clippy --all-features --all-targets
documentation:
runs-on: ubuntu-latest
env:
RUSTDOCFLAGS: "-D warnings"
steps:
- uses: actions/checkout@v3
- name: Install rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
profile: minimal
- run: cargo doc --all-features --no-deps
# unused-dependencies:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v3
# - uses: actions-rs/toolchain@v1
# with:
# toolchain: nightly
# override: true
# profile: minimal
# - run: cargo install cargo-udeps --locked
# - run: cargo udeps