File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -21,27 +21,27 @@ jobs:
2121 - name : Setup Node.js
2222 uses : actions/setup-node@v3
2323 with :
24- node-version : ' 14 .x'
24+ node-version : ' 18 .x'
2525
2626 - name : Install remark
2727 run : npm install remark-cli remark-lint remark-lint-maximum-line-length remark-preset-lint-recommended remark-gfm
2828
2929 - name : Install mdbook
3030 run : |
3131 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
3333 echo `pwd`/mdbook >> $GITHUB_PATH
3434
3535 # Run
3636 - 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 .
3838
3939 - name : Linkcheck book
4040 run : |
4141 rustup toolchain install nightly --component rust-docs
4242 curl https://raw.githubusercontent.com/rust-lang/rust/master/src/tools/linkchecker/linkcheck.sh -o linkcheck.sh
4343 sh linkcheck.sh clippy --path ./book
44-
44+
4545 - name : Build mdbook
4646 run : mdbook build book
4747
You can’t perform that action at this time.
0 commit comments