main
yml 24 lines 436 Bytes
Raw
1 name: Lint
2
3 on:
4 push:
5 branches: [main]
6 pull_request:
7
8 permissions:
9 contents: read
10
11 jobs:
12 actionlint:
13 name: actionlint
14 runs-on: ubuntu-latest
15 steps:
16 - uses: actions/checkout@v7
17
18 - name: Validate action.yml parses
19 run: python3 -c "import yaml; yaml.safe_load(open('action.yml'))"
20
21 - name: Run actionlint
22 uses: docker://rhysd/actionlint:latest
23 with:
24 args: -color