Skip to content

fix(deps): update rust crate bevy to 0.18 #2

fix(deps): update rust crate bevy to 0.18

fix(deps): update rust crate bevy to 0.18 #2

Workflow file for this run

name: Sync
on:
pull_request:
branches:
- master
jobs:
validate:
name: Validate
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Set up Bun
uses: oven-sh/setup-bun@v2
- name: Set up Rust
uses: dtolnay/rust-toolchain@stable
- name: Install system dependencies
run: sudo apt-get update && sudo apt-get install -y libasound2-dev libudev-dev
- name: Install dependencies
run: bun install
- name: Sync version
run: bun scripts/syncVersion.ts
- name: Check version sync
run: |
if ! git diff --exit-code Cargo.toml; then
echo "Error: Cargo.toml version is out of sync with package.json"
echo "Run 'bun scripts/syncVersion.ts' to fix"
exit 1
fi
- name: Check formatting
run: cargo fmt --check
- name: Clippy
run: cargo clippy --all-targets -- -D warnings
- name: Test
run: cargo test
- name: Build
run: cargo build --release