Skip to content
This repository has been archived by the owner on Jul 5, 2024. It is now read-only.

v0.3.1 (#14)

v0.3.1 (#14) #105

Workflow file for this run

name: CI
on:
push:
pull_request:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Setup | Checkout
uses: actions/checkout@v4
- name: Setup | Ubuntu dependencies
run: sudo apt install libasound2-dev libudev-dev pkg-config
- name: Setup | Toolchain
uses: dtolnay/rust-toolchain@stable
with:
components: clippy,rustfmt
- name: Rust Cache
uses: Swatinem/rust-cache@v2
- name: Build | Clippy
run: cargo clippy -- -D warnings
- name: Build | Rustfmt
run: cargo fmt --all -- --check
check:
runs-on: ubuntu-latest
steps:
- name: Setup | Checkout
uses: actions/checkout@v4
- name: Setup | Rust
uses: dtolnay/rust-toolchain@stable
with:
targets: |
wasm32-unknown-unknown
- name: Rust Cache
uses: Swatinem/rust-cache@v2
- name: Build | Check bevy_rtc server (native)
run: cargo check -p bevy_rtc -F server
- name: Build | Check bevy_rtc client (wasm)
run: cargo check -p bevy_rtc -F client --target wasm32-unknown-unknown
- name: Build | Check bevy_rtc client (native)
run: cargo check -p bevy_rtc -F client