From 769911f119b1d7860fd52b2098982509f02e932c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Harper?= Date: Sat, 27 Apr 2024 10:53:28 -0400 Subject: [PATCH] fix GitHub Workflow to check syntax with Vale Not using latest version, and pin to a specific version. --- .github/workflows/check-syntax.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/check-syntax.yml b/.github/workflows/check-syntax.yml index d89a2b9..48d7edb 100644 --- a/.github/workflows/check-syntax.yml +++ b/.github/workflows/check-syntax.yml @@ -29,15 +29,9 @@ jobs: - name: Download base Vocab accept.txt run: wget https://raw.githubusercontent.com/fharper/gh-configs/main/styles/Vocab/base/accept.txt -O styles/Vocab/base/accept.txt - - name: Get latest version of Vale - id: lastversion - uses: dvershinin/lastversion-action@v0.0.3 - with: - repository: errata-ai/vale - - name: Install Vale run: | - wget https://github.com/errata-ai/vale/releases/download/v${{ steps.lastversion.outputs.last_version }}/vale_${{ steps.lastversion.outputs.last_version }}_Linux_64-bit.tar.gz -O vale.tar.gz + wget https://github.com/errata-ai/vale/releases/download/v2.30.0/vale_2.30.0_Linux_64-bit.tar.gz -O vale.tar.gz tar -xvzf vale.tar.gz vale rm vale.tar.gz