Files
action-home-assistant/.github/workflows/lint.yaml
T
Renovate Bot e72fd9fe53
Lint / yamllint (push) Successful in 44s
Lint / Prettier (push) Successful in 47s
Lint / yamllint (pull_request) Successful in 32s
Lint / Prettier (pull_request) Successful in 54s
Test / Home Assistant Core Configuration Check (push) Successful in 1m27s
Test / Home Assistant Core Configuration Check (pull_request) Successful in 1m23s
⬆️ Update actions/checkout action to v6
2026-03-07 17:44:16 +00:00

29 lines
777 B
YAML

---
name: Lint
# yamllint disable-line rule:truthy
on: [push, pull_request, workflow_dispatch]
jobs:
yamllint:
name: yamllint
runs-on: ubuntu-latest
steps:
- name: ⤵️ Check out code from GitHub
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- name: 🚀 Run yamllint
uses: frenck/action-yamllint@v1.5
prettier:
name: Prettier
runs-on: ubuntu-latest
steps:
- name: ⤵️ Check out code from GitHub
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- name: 🚀 Run Prettier
uses: creyD/prettier_action@v4.6
with:
prettier_options: --write **/*.{json,js,md,yaml}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}