Skip to content

Update to support Bevy 0.19 #36

Update to support Bevy 0.19

Update to support Bevy 0.19 #36

Workflow file for this run

name: Main
on:
push:
branches:
- main
paths-ignore:
- ".gitignore"
- ".github/dependabot.yml"
pull_request:
paths-ignore:
- ".gitignore"
- ".github/dependabot.yml"
env:
CARGO_TERM_COLOR: always
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
# We're running into a space limit,
# which causes `ld` to terminate with a bus error.
- name: Free disk space
uses: endersonmenezes/free-disk-space@v3
with:
remove_android: true
rm_cmd: "rmz"
- name: Clone repo
uses: actions/checkout@v3
- name: Instal latest stable toolchain
uses: dtolnay/rust-toolchain@stable
- name: Cache crates
uses: Swatinem/rust-cache@v2
- name: Test
run: cargo test
clippy:
name: Clippy
runs-on: ubuntu-latest
steps:
- name: Clone repo
uses: actions/checkout@v3
- name: Instal latest stable toolchain
uses: dtolnay/rust-toolchain@stable
- name: Cache crates
uses: Swatinem/rust-cache@v2
- name: Clippy
run: cargo clippy --workspace --all-targets --all-features -- -D warnings
format:
name: Format
runs-on: ubuntu-latest
steps:
- name: Clone repo
uses: actions/checkout@v3
- name: Install Taplo
run: cargo install --locked taplo-cli
- name: Format
run: |
cargo fmt --all --check
taplo fmt --check
typos:
name: Typos
runs-on: ubuntu-latest
steps:
- name: Clone repo
uses: actions/checkout@v6
- name: Check typos
uses: crate-ci/typos@v1.40.0