Files
action-home-assistant/.github/workflows/lint.yaml
T
renovate[bot] e3ba46a611 ⬆️ Update actions/checkout digest to b4ffde6 (#88)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-20 20:02:35 +02: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@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: 🚀 Run yamllint
uses: frenck/action-yamllint@v1.4
prettier:
name: Prettier
runs-on: ubuntu-latest
steps:
- name: ⤵️ Check out code from GitHub
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: 🚀 Run Prettier
uses: creyD/prettier_action@v4.3
with:
prettier_options: --write **/*.{json,js,md,yaml}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}