This commit is contained in:
parent
5580d82c19
commit
2714df4305
1 changed files with 21 additions and 4 deletions
25
.github/workflows/lint.yml
vendored
25
.github/workflows/lint.yml
vendored
|
|
@ -42,7 +42,24 @@ jobs:
|
|||
git remote -v
|
||||
|
||||
# Original Vale action step
|
||||
- uses: https://github.com/vale-cli/vale-action@v2
|
||||
with:
|
||||
fail_on_error: true
|
||||
files: .
|
||||
# - uses: https://github.com/vale-cli/vale-action@v2
|
||||
# with:
|
||||
# fail_on_error: true
|
||||
# files: .
|
||||
|
||||
- name: Install and run Vale
|
||||
run: |
|
||||
wget -qO- https://github.com/errata-ai/vale/releases/download/v3.14.1/vale_3.14.1_Linux_64-bit.tar.gz | tar xz -C /tmp
|
||||
export PATH="/tmp:$PATH"
|
||||
|
||||
vale sync
|
||||
|
||||
echo "=== Vale Results ==="
|
||||
vale --output=line . || EXIT_CODE=$?
|
||||
|
||||
# Also try JSON for structured output
|
||||
echo ""
|
||||
echo "=== Vale JSON ==="
|
||||
vale --output=JSON . || true
|
||||
|
||||
exit ${EXIT_CODE:-0}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue