Skip to content

Commit

Permalink
Add GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
hberntsen committed Dec 4, 2024
1 parent 67fd587 commit 5180a64
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/build-example.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Build example

on:
push:
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: esphome compile example.yaml

0 comments on commit 5180a64

Please sign in to comment.