Skip to content

feat(ui): Foundation layer — metadata, types, API client, UI primitives [UI #1–4] #17

feat(ui): Foundation layer — metadata, types, API client, UI primitives [UI #1–4]

feat(ui): Foundation layer — metadata, types, API client, UI primitives [UI #1–4] #17

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
concurrency:
group: ci-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
rust-core:
name: Rust Core Checks
runs-on: ubuntu-latest
timeout-minutes: 5
defaults:
run:
working-directory: packages/core
env:
CARGO_TERM_COLOR: always
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@master
with:
toolchain: 1.85.0
components: rustfmt, clippy
- name: Cache cargo registry and target
uses: actions/cache@v4
with:
path: |
~/.cargo/registry
~/.cargo/git
packages/core/target
key: ${{ runner.os }}-cargo-core-${{ hashFiles('packages/core/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-cargo-core-
- name: Check formatting
run: cargo fmt --all -- --check
- name: Clippy (deny warnings)
run: cargo clippy --all-targets --all-features -- -D warnings
- name: Run tests
run: cargo test --all-targets --all-features