Update name of the add-on #361
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
build: | |
name: Add-on configuration | |
runs-on: ubuntu-latest | |
strategy: | |
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/[email protected] | |
- name: 🛠 Setup Python | |
uses: actions/[email protected] | |
with: | |
python-version: '3.11' | |
- name: 🛠 Install dependencies | |
run: pip install -r script/requirements.txt | |
- name: 🛠 Generate files from template | |
run: python script/generate.py ${{ matrix.channels.channel }} | |
- name: 🚀 Run Home Assistant Add-on Lint on ${{ matrix.channels.channel }} | |
uses: frenck/[email protected] | |
with: | |
path: "./${{ matrix.channels.folder }}" |