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 27, 2024
1 parent 6b28bb2 commit 769911f
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/check-syntax.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
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
Expand Down

0 comments on commit 769911f

Please sign in to comment.