Skip to content

Commit ea16f81

Browse files
committed
Auto merge of #11531 - Alexendoo:remark-deps, r=flip1995
Update remark CI deps [Remark v15](https://github.com/remarkjs/remark/releases/tag/15.0.0) was just released that needs a newer node version, this updates us to 18 (the current LTS) Also updates mdbook while we're at it changelog: none
2 parents c92de58 + 3251952 commit ea16f81

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/remark.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)