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 7b3bf2e
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/build-example.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 7b3bf2e

Please sign in to comment.