We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5fc50cc commit 4ede103Copy full SHA for 4ede103
.github/workflows/ci.yaml
@@ -0,0 +1,41 @@
1
+# この CI ではあくまでテストとビルド, フォーマットの検証のみを行う
2
+
3
+name: ci
4
5
+on:
6
+ push:
7
+ branches: [ main ]
8
+ pull_request:
9
10
11
+jobs:
12
+ test:
13
+ runs-on: ubuntu-latest
14
+ env:
15
+ # renovate: rust-lang/mdBook
16
+ MDBOOK_VERSION: '0.4.40'
17
+ steps:
18
+ - name: Checkout
19
+ uses: actions/checkout@v4
20
21
+ - name: Setup deno
22
+ uses: denoland/setup-deno@v1
23
+ with:
24
+ deno-version: v1.x
25
26
+ - name: Install mdbook
27
+ uses: peaceiris/actions-mdbook@v2
28
29
+ mdbook-version: ${{ env.MDBOOK_VERSION }}
30
31
+ - name: Run fmt
32
+ run: |
33
+ deno task format:check
34
35
+ - name: Run test
36
37
+ deno task test
38
39
+ - name: Run build
40
41
+ deno task build
0 commit comments