From 02099b86a0d48915e2b44bd97f77535117359b78 Mon Sep 17 00:00:00 2001 From: Graham Savage Date: Thu, 21 May 2026 11:36:45 +0100 Subject: [PATCH] Add actionlint step to test workflow Lints the GitHub Actions workflow files on every PR and push to main, catching workflow syntax errors and misuses before they merge. Uses the official download script pinned to actionlint v1.7.12 to avoid a third-party action dependency. --- .github/workflows/test.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 67d0eea..1ff20b2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,5 +14,11 @@ jobs: - uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0 with: python-version: '3.12' + # https://github.com/rhysd/actionlint/blob/v1.7.12/docs/usage.md#use-actionlint-on-github-actions + - name: actionlint + run: | + bash <(curl -s https://raw.githubusercontent.com/rhysd/actionlint/v1.7.12/scripts/download-actionlint.bash) + ./actionlint -color + shell: bash - run: make pip - run: make test