diff --git a/.github/workflows/build-example.yml b/.github/workflows/build-example.yml new file mode 100644 index 0000000..653671a --- /dev/null +++ b/.github/workflows/build-example.yml @@ -0,0 +1,22 @@ +name: Build example + +on: + workflow_dispatch: + pull_request: + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }}-build-example + cancel-in-progress: true + +jobs: + build-example: + runs-on: ubuntu-latest + timeout-minutes: 10 + container: + image: esphome/esphome:2024.11 + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Compile example + working-directory: esphome + run: compile example.yml