Skip to content

Commit 9a0cd30

Browse files
committed
feat: add GitHub Actions workflow for linting
1 parent ae0853e commit 9a0cd30

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Lint GitHub Actions workflows
2+
on: [push, pull_request]
3+
4+
jobs:
5+
actionlint:
6+
runs-on: ubuntu-latest
7+
steps:
8+
- uses: actions/checkout@v4
9+
10+
- name: Download actionlint
11+
id: get_actionlint
12+
run: bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash)
13+
shell: bash
14+
15+
- name: Check workflow files
16+
run: ${{ steps.get_actionlint.outputs.executable }} -color
17+
shell: bash

0 commit comments

Comments
 (0)