Skip to content

Commit

Permalink
fix GitHub Workflow to check syntax with Vale
Browse files Browse the repository at this point in the history
Not using latest version, and pin to a specific version.
  • Loading branch information
fharper committed Apr 30, 2024
1 parent ded6b2c commit 15e89b5
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/check-syntax.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout this repository
uses: actions/[email protected]

- name: Get latest version of Vale
id: lastversion
uses: dvershinin/[email protected]
with:
repository: errata-ai/vale
uses: actions/[email protected]

- 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
Expand Down

0 comments on commit 15e89b5

Please sign in to comment.