33 lines
690 B
YAML
33 lines
690 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
schedule:
|
|
- cron: '0 7 * * *' # Every day at 07:00 UTC
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref}}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
build:
|
|
name: ${{ matrix.esphome-version }}
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
esphome-version:
|
|
- stable
|
|
- beta
|
|
- dev
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Build
|
|
uses: esphome/build-action@v7
|
|
with:
|
|
version: ${{ matrix.esphome-version }}
|
|
yaml-file: test_empty_components.yaml
|