Skip to content

Commit

Permalink
feat: add actionlint workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Philipp Bammes <[email protected]>
  • Loading branch information
tyrann0us authored Sep 10, 2024
1 parent 4a4c5f3 commit fef324e
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/lint-workflows.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Lint GitHub Actions workflows

on:
push:
paths:
- '**.yml'
pull_request:
workflow_dispatch:

jobs:
actionlint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set up problem matchers for actionlint
run: |
curl -s -o actionlint-matcher.json https://raw.githubusercontent.com/rhysd/actionlint/main/.github/actionlint-matcher.json
echo "::add-matcher::$(pwd)/actionlint-matcher.json"
- name: Run actionlint
uses: docker://rhysd/actionlint:latest
with:
args: -color -shellcheck=

0 comments on commit fef324e

Please sign in to comment.