All Projects → ludeeus → action-ha-config-check

ludeeus / action-ha-config-check

Licence: MIT license
Check Home Assistant Configuration

Programming Languages

shell
77523 projects
Dockerfile
14818 projects

Home Assistant Configuration Check

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.

Basic example

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

Inputs

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.

Example with inputs

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

Example checking against STABLE, RC and DEV in parallel

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: .
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].