Add Github Workflow for linting addon config
This commit is contained in:
21
.github/workflows/lint.yml
vendored
Normal file
21
.github/workflows/lint.yml
vendored
Normal 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"
|
||||
Reference in New Issue
Block a user