-
Notifications
You must be signed in to change notification settings - Fork 622
32 lines (29 loc) · 745 Bytes
/
Copy pathpr.yml
File metadata and controls
32 lines (29 loc) · 745 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: CI (pull request)
on:
pull_request:
branches:
- main
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- name: setup rust toolchain
run: rustup update && rustup toolchain install
- uses: taiki-e/install-action@v2
with:
tool: nextest
- uses: taiki-e/install-action@v2
with:
tool: mdbook
- uses: taiki-e/install-action@v2
with:
tool: mdbook-toc
- name: install sitemap generator
run: npm install --global static-sitemap-cli@2.2.7
- name: check and build
run: cargo x ci
- name: check sitemap
run: mini-lsm-book/sitemap.sh --check