Fix the problem that frame with more-bulb LEDbulb effect on unloaded … #440
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Rust CI | |
| on: [push, pull_request] | |
| # Make sure CI fails on all warnings, including Clippy lints | |
| env: | |
| RUSTFLAGS: "-Dwarnings" | |
| jobs: | |
| editor-server-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - run: cd editor-server && cp .env.development .env | |
| - name: Start database | |
| run: docker compose -f dev.docker-compose.yml up -d | |
| - name: Migrate database | |
| run: cd editor-server && set -a && source .env && set +a && cargo run -p migration -- up | |
| - name: Build and clippy check | |
| run: cargo clippy --manifest-path ./editor-server/Cargo.toml | |
| - name: fmt check | |
| run: cargo fmt --manifest-path ./editor-server/Cargo.toml | |
| - name: Run test | |
| run: cargo test --test '*' --manifest-path ./editor-server/Cargo.toml | |
| file-server-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: build test and clippy check | |
| run: cargo clippy --manifest-path ./file-server/Cargo.toml | |
| - name: fmt check | |
| run: cargo fmt --manifest-path ./file-server/Cargo.toml |