54d1b2b1f7
Lint / yamllint (pull_request) Successful in 45s
Lint / yamllint (push) Successful in 49s
Lint / Prettier (pull_request) Successful in 58s
Lint / Prettier (push) Successful in 1m3s
Test / Home Assistant Core Configuration Check (pull_request) Successful in 1m29s
Test / Home Assistant Core Configuration Check (push) Successful in 1m31s
29 lines
777 B
YAML
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@8e8c483db84b4bee98b60c0593521ed34d9990e8 # 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@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
|
|
- name: 🚀 Run Prettier
|
|
uses: creyD/prettier_action@v4.6
|
|
with:
|
|
prettier_options: --write **/*.{json,js,md,yaml}
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|