diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index f4d2034..7b057e0 100755 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -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}