1
0

Compare commits

...

4 Commits

4 changed files with 20 additions and 10 deletions

View File

@@ -1,12 +1,22 @@
name: Lint
on: [push, pull_request]
on:
push:
branches:
- main
pull_request:
jobs:
build:
name: Add-on configuration
runs-on: ubuntu-latest
strategy:
matrix:
channel: [esphome, esphome-beta, esphome-dev]
matrix:
channels:
- folder: esphome
channel: stable
- folder: esphome-beta
channel: beta
- folder: esphome-dev
channel: dev
steps:
- name: ⤵️ Check out code from GitHub
uses: actions/checkout@v2
@@ -17,8 +27,8 @@ jobs:
- name: 🛠 Install dependencies
run: pip install -r script/requirements.txt
- name: 🛠 Generate files from template
run: python script/generate.py dev beta stable
- name: 🚀 Run Home Assistant Add-on Lint on ${{ matrix.channel }}
run: python script/generate.py ${{ matrix.channels.channel }}
- name: 🚀 Run Home Assistant Add-on Lint on ${{ matrix.channels.channel }}
uses: frenck/action-addon-linter@v2
with:
path: "./${{ matrix.channel }}"
path: "./${{ matrix.channels.folder }}"

View File

@@ -40,5 +40,5 @@
"stage": "experimental",
"uart": true,
"url": "https://beta.esphome.io/",
"version": "1.20.1"
"version": "1.20.2"
}

View File

@@ -39,5 +39,5 @@
],
"uart": true,
"url": "https://esphome.io/",
"version": "1.20.1"
"version": "1.20.2"
}

View File

@@ -55,7 +55,7 @@ esphome-beta:
<<: *base
directory: esphome-beta
name: ESPHome (beta)
version: '1.20.1' # BETA
version: '1.20.2' # BETA
slug: esphome-beta
description: "Beta version of ESPHome add-on"
url: https://beta.esphome.io/
@@ -66,7 +66,7 @@ esphome-stable:
<<: *base
directory: esphome
name: ESPHome
version: '1.20.1' # STABLE
version: '1.20.2' # STABLE
slug: esphome
description: "ESPHome add-on for intelligently managing all your ESP8266/ESP32 devices"
image: esphome/esphome-hassio-{arch}