This action is deprecated, use https://github.com/ludeeus/setup-homeassistant or https://github.com/frenck/action-home-assistant instead
Check Home Assistant Configuration as a GitHub action!
This checks your github hosted configuration against Home Assistant versions.
If you have custom_components in your repository it will also install the requirements of those before running the configuration check.
name: "Run action"
on:
push:
branch:
- master
pull_request:
branch:
- master
jobs:
check:
name: Home Assistant Config Check
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
- name: Run Config Check
uses: ludeeus/action-ha-config-check@master
input | description |
---|---|
version |
STABLE , RC or DEV (defaults to STABLE ). |
config_path |
Relative path to your configuration if not in the root of the repository. |
name: "Run action"
on:
push:
branch:
- master
pull_request:
branch:
- master
jobs:
check:
name: Home Assistant Config Check
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
- name: Run Config Check
uses: ludeeus/action-ha-config-check@master
with:
version: DEV
config_path: config
name: "Run action"
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
strategy:
fail-fast: false
matrix:
HA_VERSION: [STABLE, RC, DEV]
max-parallel: 3
steps:
- uses: actions/checkout@v2
- name: Home Assistant Configuration Check
uses: ludeeus/action-ha-config-check@master
with:
version: matrix.HA_VERSION
config_path: .