Skip to content

Commit ce8fc68

Browse files
committed
CI checks
1 parent 0813010 commit ce8fc68

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed

.github/workflows/CI.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: github pages
2+
3+
env:
4+
CLICOLOR: 1
5+
6+
on:
7+
pull_request:
8+
9+
jobs:
10+
test:
11+
name: Run book tests
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Install Rust
15+
uses: actions-rust-lang/setup-rust-toolchain@v1
16+
- name: Build tester
17+
run: cd kcl-book-tester; cargo build
18+
- name: Run tester
19+
run: |
20+
./kcl-book-tester/target/debug/kcl-book-tester . all
21+
22+
spelling:
23+
name: Spell Check with Typos
24+
runs-on: ubuntu-latest
25+
steps:
26+
- name: Checkout Actions Repository
27+
uses: actions/checkout@v4
28+
- name: Spell Check Repo
29+
uses: crate-ci/[email protected]
30+
31+
check:
32+
runs-on: ubuntu-latest
33+
concurrency:
34+
group: ${{ github.workflow }}-${{ github.ref }}
35+
steps:
36+
- uses: actions/checkout@v4
37+
- name: Setup mdBook
38+
uses: peaceiris/actions-mdbook@v2
39+
with:
40+
mdbook-version: 'latest'
41+
- run: mdbook build
42+
43+

0 commit comments

Comments
 (0)