# Only the core crate is checked: the app crate (GPUI) only builds on Windows (ADR-0003). # Betas of develop and stables of main are published from the build PC once these checks pass (docs/publication.md). name: CI on: pull_request: push: branches: - main - develop # CI never publishes: a read-only job token is enough. permissions: contents: read jobs: core: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: Install Rust stable (rustfmt, clippy) run: | curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --component rustfmt,clippy echo "$HOME/.cargo/bin" >> "$GITHUB_PATH" - name: Format run: cargo fmt -p arena-tracker-core --check - name: Clippy run: cargo clippy -p arena-tracker-core --all-targets --locked -- -D warnings - name: Tests run: cargo test -p arena-tracker-core --locked - name: Publication tests run: python3 scripts/test_publish.py