From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1643) id 88CAB3858429; Fri, 29 Jul 2022 14:44:47 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 88CAB3858429 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Thomas Schwinge To: gcc-cvs@gcc.gnu.org Subject: [gcc/devel/rust/master] CI: fix remark installation pre-condition ... X-Act-Checkin: gcc X-Git-Author: liushuyu X-Git-Refname: refs/heads/devel/rust/master X-Git-Oldrev: 50ca4b2ba0028945fd1a0aefec739ea99f77e908 X-Git-Newrev: 2a4b58c9b7199e1c2f2e84489a7481a5ec64d472 Message-Id: <20220729144447.88CAB3858429@sourceware.org> Date: Fri, 29 Jul 2022 14:44:47 +0000 (GMT) X-BeenThere: gcc-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Jul 2022 14:44:47 -0000 https://gcc.gnu.org/g:2a4b58c9b7199e1c2f2e84489a7481a5ec64d472 commit 2a4b58c9b7199e1c2f2e84489a7481a5ec64d472 Author: liushuyu 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