Skip to content

Commit

Permalink
Add workflow to run actionlint
Browse files Browse the repository at this point in the history
  • Loading branch information
tothtamas28 committed Jun 21, 2024
1 parent bf33c22 commit 0c8deef
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/actionlint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
self-hosted-runner:
labels:
- normal
- MacM1
- performance
16 changes: 16 additions & 0 deletions .github/workflows/run-actionlint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Lint GitHub Actions workflows
on: pull_request

jobs:
actionlint:
name: Run actionlint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Download actionlint
id: get_actionlint
run: bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash)
shell: bash
- name: Check workflow files
run: ${{ steps.get_actionlint.outputs.executable }} -color
shell: bash

0 comments on commit 0c8deef

Please sign in to comment.