mirror of
https://github.com/esphome/esphome.git
synced 2024-12-04 20:48:21 +01:00
25 lines
439 B
YAML
25 lines
439 B
YAML
---
|
|
name: YAML lint
|
|
|
|
on:
|
|
push:
|
|
branches: [dev, beta, release]
|
|
paths:
|
|
- "**.yaml"
|
|
- "**.yml"
|
|
pull_request:
|
|
paths:
|
|
- "**.yaml"
|
|
- "**.yml"
|
|
|
|
jobs:
|
|
yamllint:
|
|
name: yamllint
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Check out code from GitHub
|
|
uses: actions/checkout@v4.1.1
|
|
- name: Run yamllint
|
|
uses: frenck/action-yamllint@v1.5.0
|
|
with:
|
|
strict: true
|