Unify typed correction outcomes and accelerate Compact L2 #102
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: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| check: | |
| name: Rust, tray, and extension checks | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Install system dictionaries | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y hunspell-ru hunspell-en-us wamerican | |
| - name: Setup Rust | |
| uses: dtolnay/rust-toolchain@stable | |
| with: | |
| components: rustfmt, clippy | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '22' | |
| - name: Cache cargo | |
| uses: Swatinem/rust-cache@v2 | |
| - name: cargo fmt | |
| run: cargo fmt --all --check | |
| - name: architecture guard | |
| run: bash scripts/check-architecture.sh | |
| - name: 50-pass architecture audit | |
| run: bash scripts/check-lay-audit-50.sh | |
| - name: Public issue regressions | |
| run: bash scripts/test-public-issues.sh | |
| - name: Current architecture regressions | |
| run: | | |
| cargo test --test typing_transition_authority_contract | |
| cargo test --test text_mutation_monopoly_contract | |
| cargo test typing_replacements::tests:: --lib | |
| cargo test nanda_wave::context_wave::tests::warm_up_prepares_wave_memory_without_prefix_indexes --lib | |
| - name: cargo clippy | |
| run: cargo clippy --all-targets -- -D warnings | |
| - name: GNOME extension syntax | |
| run: | | |
| python3 -m json.tool extension/lay@radislabus-star.github.io/metadata.json >/dev/null | |
| for js in extension/lay@radislabus-star.github.io/*.js; do | |
| node --check "$js" | |
| done | |
| - name: KDE tray and shell scripts syntax | |
| run: | | |
| python3 -m py_compile scripts/*.py | |
| bash -n install.sh update.sh dev-reload.sh scripts/*.sh | |
| - name: CLI explain smoke | |
| run: cargo run --quiet --bin lay -- --no-llm ghbdtn | grep -F 'привет' | |
| - name: release binaries | |
| run: cargo build --release --bins | |
| - name: ngram cache probe | |
| run: | | |
| cargo run --quiet --bin lay-ngram-corpus -- cache --out target/lay-ci-ngram-ru.json | |
| cargo run --quiet --bin lay-ngram-corpus -- check-cache --cache target/lay-ci-ngram-ru.json | |
| - name: LEM research probe | |
| run: cargo run --quiet --bin lay-lem-research |