Enhance Github action

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
Florian Gareis 2021-02-08 17:53:33 +01:00 committed by GitHub
parent e048e04a20
commit 1790ef28ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,18 +4,13 @@ jobs:
build: build:
name: Add-on configuration name: Add-on configuration
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy:
matrix:
channel: [esphome, esphome-beta, esphome-dev]
steps: steps:
- name: ⤵️ Check out code from GitHub - name: ⤵️ Check out code from GitHub
uses: actions/checkout@v2 uses: actions/checkout@v2
- name: 🚀 Run Home Assistant Add-on Lint on ESPHome - name: 🚀 Run Home Assistant Add-on Lint on ${{ matrix.channel }}
uses: frenck/action-addon-linter@v2 uses: frenck/action-addon-linter@v2
with: with:
path: "./esphome" path: "./${{ matrix.channel }}"
- 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"