23 lines
393 B
YAML
23 lines
393 B
YAML
name: YAML Lint
|
|
|
|
on:
|
|
push:
|
|
branches: [ main, dev ]
|
|
pull_request:
|
|
|
|
jobs:
|
|
yamllint:
|
|
runs-on: docker
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Install yamllint
|
|
run: |
|
|
apk add --no-cache python3 py3-pip
|
|
pip install --no-cache-dir yamllint
|
|
|
|
- name: Run yamllint
|
|
run: |
|
|
yamllint .
|