Skip to content

Commit

Permalink
GH Actions: add actionlint job
Browse files Browse the repository at this point in the history
This job checks the GH Actions workflows against syntax errors and other problems.
  • Loading branch information
jrfnl committed Dec 21, 2024
1 parent a38d9ec commit 2170492
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/cs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ on:
- 'LICENSE'
- 'phpunit.xml.dist'
- '.github/dependabot.yml'
- '.github/workflows/test.yml'
- 'images/**'
pull_request:
paths-ignore:
Expand All @@ -20,7 +19,6 @@ on:
- 'LICENSE'
- 'phpunit.xml.dist'
- '.github/dependabot.yml'
- '.github/workflows/test.yml'
- 'images/**'
# Allow manually triggering the workflow.
workflow_dispatch:
Expand All @@ -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
Expand Down

0 comments on commit 2170492

Please sign in to comment.