[gcc/devel/rust/master] CI: fix remark installation pre-condition ...

Thomas Schwinge tschwinge@gcc.gnu.org
Fri Jul 29 14:44:47 GMT 2022


https://gcc.gnu.org/g:2a4b58c9b7199e1c2f2e84489a7481a5ec64d472

commit 2a4b58c9b7199e1c2f2e84489a7481a5ec64d472
Author: liushuyu <liushuyu011@gmail.com>
Date:   Tue Jul 19 22:00:18 2022 -0600

    CI: fix remark installation pre-condition ...
    
    ... update Node.js to the latest LTS branch

Diff:
---
 .github/workflows/Remark.yml | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/.github/workflows/Remark.yml b/.github/workflows/Remark.yml
index 7b139672285..b3b04f92f18 100644
--- a/.github/workflows/Remark.yml
+++ b/.github/workflows/Remark.yml
@@ -15,16 +15,16 @@ jobs:
     steps:
     # Setup
     - name: Checkout
-      uses: actions/checkout@v2.3.3
+      uses: actions/checkout@v3
 
     - name: Setup Node.js
-      uses: actions/setup-node@v1.4.4
+      uses: actions/setup-node@v3
       with:
-        node-version: '12.x'
+        node-version: '16.x'
 
     - name: Install remark
       run: npm install remark-cli remark-lint remark-lint-maximum-line-length remark-preset-lint-recommended remark-gfm
 
     # Run
-    # - name: Check *.md files
-    #   run: git ls-files -z *.md | xargs -0 -n 1 npx remark -u lint -f > /dev/null
+    - name: Check *.md files
+      run: git ls-files -z *.md | xargs -0 -n 1 npx remark -u lint -f > /dev/null


More information about the Gcc-cvs mailing list