From 4359688f3261b011a86ee887c471d75a6b95f476 Mon Sep 17 00:00:00 2001 From: Brendan Clement Date: Wed, 28 Oct 2026 08:26:40 -0700 Subject: [PATCH] ci: let the Vale action install its pinned CLI (#4708) Let the pinned Vale action install Vale 3.24.0 instead of maintaining a separate download and extraction step --- .github/workflows/docs-style.yml | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/.github/workflows/docs-style.yml b/.github/workflows/docs-style.yml index 6be8b0f8f..51847f22c 100644 --- a/.github/workflows/docs-style.yml +++ b/.github/workflows/docs-style.yml @@ -13,10 +13,6 @@ permissions: contents: read pull-requests: read -env: - VALE_VERSION: 3.24.0 - VALE_SHA256: 867534ddb678abca7f214bc4706ead0922bd5252ffe8035fc227013f66c8b214 - jobs: prose: name: Lint changed prose @@ -26,19 +22,10 @@ jobs: with: persist-credentials: false - - name: Install Vale - run: | - archive="vale_${VALE_VERSION}_Linux_64-bit.tar.gz" - curl --fail --location --silent --show-error --output "$RUNNER_TEMP/$archive" \ - "https://github.com/vale-cli/vale/releases/download/v${VALE_VERSION}/$archive" - echo "${VALE_SHA256} $RUNNER_TEMP/$archive" | sha256sum --check - tar -xzf "$RUNNER_TEMP/$archive" -C "$RUNNER_TEMP" vale - echo "$RUNNER_TEMP" >> "$GITHUB_PATH" - - name: Annotate changed lines uses: vale-cli/vale-action@518a9136acc6e6668ce7c00d367051e0941e87ff # v3.0.0 with: - version: none + version: '3.24.0' sync: false files: docs/web reporter: github-pr-annotations