Skip to content

Units/Types chapter

Units/Types chapter #6

Workflow file for this run

name: KCL Book CI
env:
CLICOLOR: 1
on:
pull_request:
jobs:
test:
name: Run book tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Rust
uses: actions-rust-lang/setup-rust-toolchain@v1
- name: Build tester
run: |
cd kcl-book
cd kcl-book-tester
cargo build
- name: Run tester
run: |
./kcl-book-tester/target/debug/kcl-book-tester . all
spelling:
name: Spell Check with Typos
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Spell Check Repo
uses: crate-ci/[email protected]
check:
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v4
- name: Setup mdBook
uses: peaceiris/actions-mdbook@v2
with:
mdbook-version: 'latest'
- run: |
cd kcl-book
mdbook build