about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlex Macleod <alex@macleod.io>2023-09-18 12:42:37 +0000
committerAlex Macleod <alex@macleod.io>2023-09-18 12:48:32 +0000
commit32519528dfe8743d006e337c8105868761922d03 (patch)
treed6ea6b527f240e86df6b4c2e19bb3e7f5fd6e522
parentc92de5869282c189865f7ebfc039752d447c6d2c (diff)
downloadrust-32519528dfe8743d006e337c8105868761922d03.tar.gz
rust-32519528dfe8743d006e337c8105868761922d03.zip
Update remark CI deps
-rw-r--r--.github/workflows/remark.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/.github/workflows/remark.yml b/.github/workflows/remark.yml
index 7d25b6a2b79..30bd476332f 100644
--- a/.github/workflows/remark.yml
+++ b/.github/workflows/remark.yml
@@ -21,7 +21,7 @@ jobs:
     - name: Setup Node.js
       uses: actions/setup-node@v3
       with:
-        node-version: '14.x'
+        node-version: '18.x'
 
     - name: Install remark
       run: npm install remark-cli remark-lint remark-lint-maximum-line-length remark-preset-lint-recommended remark-gfm
@@ -29,19 +29,19 @@ jobs:
     - name: Install mdbook
       run: |
         mkdir mdbook
-        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
+        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
         echo `pwd`/mdbook >> $GITHUB_PATH
 
     # Run
     - name: Check *.md files
-      run: git ls-files -z '*.md' | xargs -0 -n 1 -I {} ./node_modules/.bin/remark {} -u lint -f > /dev/null
+      run: ./node_modules/.bin/remark -u lint -f .
 
     - name: Linkcheck book
       run: |
         rustup toolchain install nightly --component rust-docs
         curl https://raw.githubusercontent.com/rust-lang/rust/master/src/tools/linkchecker/linkcheck.sh -o linkcheck.sh
         sh linkcheck.sh clippy --path ./book
-        
+
     - name: Build mdbook
       run: mdbook build book