home-assistant-addon/.github/workflows/lint.yml
Florian Gareis 1790ef28ef
Enhance Github action
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-02-08 17:53:33 +01:00

17 lines
477 B
YAML

name: Lint
on: [push, pull_request]
jobs:
build:
name: Add-on configuration
runs-on: ubuntu-latest
strategy:
matrix:
channel: [esphome, esphome-beta, esphome-dev]
steps:
- name: ⤵️ Check out code from GitHub
uses: actions/checkout@v2
- name: 🚀 Run Home Assistant Add-on Lint on ${{ matrix.channel }}
uses: frenck/action-addon-linter@v2
with:
path: "./${{ matrix.channel }}"