From 21704924da5505f78552373f0cdf6d6b0d3437bd Mon Sep 17 00:00:00 2001 From: jrfnl Date: Sat, 21 Dec 2024 15:58:56 +0100 Subject: [PATCH] GH Actions: add actionlint job This job checks the GH Actions workflows against syntax errors and other problems. --- .github/workflows/cs.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cs.yml b/.github/workflows/cs.yml index 82dff8b..8507347 100644 --- a/.github/workflows/cs.yml +++ b/.github/workflows/cs.yml @@ -10,7 +10,6 @@ on: - 'LICENSE' - 'phpunit.xml.dist' - '.github/dependabot.yml' - - '.github/workflows/test.yml' - 'images/**' pull_request: paths-ignore: @@ -20,7 +19,6 @@ on: - 'LICENSE' - 'phpunit.xml.dist' - '.github/dependabot.yml' - - '.github/workflows/test.yml' - 'images/**' # Allow manually triggering the workflow. workflow_dispatch: @@ -32,6 +30,10 @@ concurrency: cancel-in-progress: true jobs: + actionlint: + name: 'Lint GH Action workflows' + uses: Yoast/.github/.github/workflows/reusable-actionlint.yml@main + checkcs: name: 'Check code style' runs-on: ubuntu-latest