From 1ae0698c6a2ea24f48ab0830aae263d27dbc2e91 Mon Sep 17 00:00:00 2001 From: Abin Simon Date: Thu, 6 Oct 2022 16:32:53 +0530 Subject: [PATCH] Pin vale and markdownlint-cli to current versions --- .github/workflows/ci.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3e9c84d3cc..aff1f94012 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -90,18 +90,16 @@ jobs: environment: Testing runs-on: ubuntu-latest if: startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/release-ci' || needs.precheck.outputs.docfileschanged == 'true' - defaults: - run: - working-directory: docs steps: - uses: actions/checkout@v3 - name: Install dependencies for docs lint run: | - sudo snap install --edge vale - npm install -g markdownlint-cli - vale --version && markdownlint --version + wget https://github.com/errata-ai/vale/releases/download/v2.20.2/vale_2.20.2_Linux_64-bit.tar.gz + mkdir bin && tar -xvzf vale_2.20.2_Linux_64-bit.tar.gz -C bin + echo "$PWD/bin" >> $GITHUB_PATH + npm i -g markdownlint-cli@0.32.2 - uses: actions/download-artifact@master name: Download cli docs from build step @@ -111,7 +109,7 @@ jobs: - name: Run docs lint run: | - make -o genclidocs check + cd docs && make -o genclidocs check # ---------------------------------------------------------------------------------------------------- # --- Integration and Unit Testing -------------------------------------------------------------------