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/checkout@v4.1.1 - name: ๐Ÿ›  Setup Python uses: actions/setup-python@v4.8.0 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/action-addon-linter@v2.15.1 with: path: "./${{ matrix.channels.folder }}"