-
-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (33 loc) · 809 Bytes
/
ci.yaml
File metadata and controls
41 lines (33 loc) · 809 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
33
34
35
36
37
38
39
40
41
# この CI ではあくまでテストとビルド, フォーマットの検証のみを行う
name: ci
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
env:
# renovate: rust-lang/mdBook
MDBOOK_VERSION: '0.5.1'
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Setup deno
uses: denoland/setup-deno@v1
with:
deno-version: 2.x
- name: Install mdbook
uses: peaceiris/actions-mdbook@v2
with:
mdbook-version: ${{ env.MDBOOK_VERSION }}
- name: Run fmt
run: |
deno task format:check
- name: Run test
run: |
deno task test
- name: Run build
run: |
deno task build