From c87b9d84a63f2320666f0e4ad8ea0eb29260e60d Mon Sep 17 00:00:00 2001 From: mirnawong1 Date: Thu, 12 Sep 2024 16:42:41 +0100 Subject: [PATCH] update --- .github/workflows/vale.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/vale.yml b/.github/workflows/vale.yml index 94bc1d17ee7..491035a9d1f 100644 --- a/.github/workflows/vale.yml +++ b/.github/workflows/vale.yml @@ -15,10 +15,14 @@ jobs: with: fetch-depth: 0 - - name: Set environment variables + - name: Install Vale run: | - echo "HOME=/home/runner" >> $GITHUB_ENV - echo "VALE_CONFIG_PATH=$(pwd)/.vale.ini" >> $GITHUB_ENV + curl -L https://github.com/errata-ai/vale/releases/download/v2.17.0/vale_2.17.0_Linux_64-bit.tar.gz -o vale.tar.gz + tar -xvzf vale.tar.gz + sudo mv vale /usr/local/bin/ + + - name: Set VALE_CONFIG_PATH + run: echo "VALE_CONFIG_PATH=$(pwd)/.vale.ini" >> $GITHUB_ENV - name: Set up Vale with Reviewdog uses: errata-ai/vale-action@reviewdog