Skip to content

Merge pull request #81 from jreuben11/bevy #66

Merge pull request #81 from jreuben11/bevy

Merge pull request #81 from jreuben11/bevy #66

Workflow file for this run

name: Rust
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
workflow_dispatch:
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install nightly Rust
uses: dtolnay/rust-toolchain@nightly
with:
components: clippy, rustfmt
- name: Add WASM target
run: rustup target add wasm32-unknown-unknown
- name: lint
run: cargo clippy & cargo fmt
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose