docs: describe 0.1.208 release #36
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: cargo test | |
| run: cargo test --all-targets | |
| - 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 | |
| node --check extension/lay@radislabus-star.github.io/lay-impl.js | |
| node --check extension/lay@radislabus-star.github.io/extension.js | |
| - 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 -- --explain-correct 'кторое ' | grep -F 'confidence:' | |
| - 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 |