File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -21,27 +21,27 @@ jobs:
21
21
- name : Setup Node.js
22
22
uses : actions/setup-node@v3
23
23
with :
24
- node-version : ' 14 .x'
24
+ node-version : ' 18 .x'
25
25
26
26
- name : Install remark
27
27
run : npm install remark-cli remark-lint remark-lint-maximum-line-length remark-preset-lint-recommended remark-gfm
28
28
29
29
- name : Install mdbook
30
30
run : |
31
31
mkdir mdbook
32
- curl -Lf https://github.com/rust-lang/mdBook/releases/download/v0.4.28 /mdbook-v0.4.28 -x86_64-unknown-linux-gnu.tar.gz | tar -xz --directory=./mdbook
32
+ curl -Lf https://github.com/rust-lang/mdBook/releases/download/v0.4.34 /mdbook-v0.4.34 -x86_64-unknown-linux-gnu.tar.gz | tar -xz --directory=./mdbook
33
33
echo `pwd`/mdbook >> $GITHUB_PATH
34
34
35
35
# Run
36
36
- name : Check *.md files
37
- run : git ls-files -z '*.md' | xargs -0 -n 1 -I {} . /node_modules/.bin/remark {} -u lint -f > /dev/null
37
+ run : . /node_modules/.bin/remark -u lint -f .
38
38
39
39
- name : Linkcheck book
40
40
run : |
41
41
rustup toolchain install nightly --component rust-docs
42
42
curl https://raw.githubusercontent.com/rust-lang/rust/master/src/tools/linkchecker/linkcheck.sh -o linkcheck.sh
43
43
sh linkcheck.sh clippy --path ./book
44
-
44
+
45
45
- name : Build mdbook
46
46
run : mdbook build book
47
47
You can’t perform that action at this time.
0 commit comments