File tree Expand file tree Collapse file tree 1 file changed +22
-7
lines changed Expand file tree Collapse file tree 1 file changed +22
-7
lines changed Original file line number Diff line number Diff line change 41
41
- name : Install mdbook-mermaid
42
42
run : cd book && curl -L https://github.com/badboy/mdbook-mermaid/releases/download/0.2.2/mdbook-mermaid-0.2.2-x86_64-unknown-linux-gnu.tar.gz | tar xz
43
43
44
- - name : Install mdbook-linkcheck
45
- run : |
46
- cd book
47
- curl -L https://github.com/Michael-F-Bryan/mdbook-linkcheck/releases/download/v0.5.0/mdbook-linkcheck-v0.5.0-x86_64-unknown-linux-gnu.tar.gz | tar xz
48
- # Add the book directory to the $PATH
49
- echo "::add-path::$GITHUB_WORKSPACE/book"
50
-
51
44
- name : Execute tests for Chalk book
52
45
run : cd book && ./mdbook test
53
46
85
78
86
79
- name : Check formatting of all crates in the workspace
87
80
run : cargo fmt --all -- --check
81
+
82
+ mdbook-linkcheck :
83
+ name : Book link check
84
+ runs-on : ubuntu-latest
85
+ steps :
86
+ - name : Checkout the source code
87
+ uses : actions/checkout@master
88
+ with :
89
+ fetch-depth : 1
90
+
91
+ - name : Install mdbook
92
+ run : cd book && curl -L https://github.com/rust-lang/mdBook/releases/download/v0.3.7/mdbook-v0.3.7-x86_64-unknown-linux-gnu.tar.gz | tar xz
93
+
94
+ - name : Install mdbook-linkcheck
95
+ run : |
96
+ cd book
97
+ curl -L https://github.com/Michael-F-Bryan/mdbook-linkcheck/releases/download/v0.5.0/mdbook-linkcheck-v0.5.0-x86_64-unknown-linux-gnu.tar.gz | tar xz
98
+ # Add the book directory to the $PATH
99
+ echo "::add-path::$GITHUB_WORKSPACE/book"
100
+
101
+ - name : Build Chalk book
102
+ run : cd book && ./mdbook build
You can’t perform that action at this time.
0 commit comments