Add Github Workflow for linting addon config

This commit is contained in:
Florian Gareis 2021-02-08 16:28:24 +01:00
parent f464746983
commit 29cdb761a6

21
.github/workflows/lint.yml vendored Normal file
View File

@ -0,0 +1,21 @@
name: Lint
on: [push, pull_request]
jobs:
build:
name: Add-on configuration
runs-on: ubuntu-latest
steps:
- name: ⤵️ Check out code from GitHub
uses: actions/checkout@v2
- name: 🚀 Run Home Assistant Add-on Lint on ESPHome
uses: frenck/action-addon-linter@v2
with:
path: "./esphome"
- name: 🚀 Run Home Assistant Add-on Lint on ESPHome-Beta
uses: frenck/action-addon-linter@v2
with:
path: "./esphome-beta"
- name: 🚀 Run Home Assistant Add-on Lint on ESPHome-Dev
uses: frenck/action-addon-linter@v2
with:
path: "./esphome-dev"