6f97085285
* add actions linter * fix actions/checkout args * trigger actions lint on both yml/yaml ...and other possible changes in workflow
24 lines
393 B
YAML
24 lines
393 B
YAML
name: Lint
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- webv2
|
|
paths:
|
|
- '.github/workflows/*'
|
|
pull_request:
|
|
branches:
|
|
- webv2
|
|
paths:
|
|
- '.github/workflows/*'
|
|
|
|
jobs:
|
|
actionlint:
|
|
name: GitHub actions
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
- uses: docker://rhysd/actionlint:latest
|
|
with:
|
|
args: -shellcheck= -color |