Validate Home Assistant Config #1149
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Validate Home Assistant Config | |
on: | |
push: | |
pull_request: | |
schedule: | |
- cron: '0 0 * * *' | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
lint: | |
name: Lint Code Base | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
- name: Lint Code Base | |
uses: github/[email protected] | |
env: | |
VALIDATE_ALL_CODEBASE: false | |
DEFAULT_BRANCH: master | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
home-assistant: | |
name: "Home Assistant Core ${{ matrix.version }} Configuration Check" | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
version: ["stable"] | |
steps: | |
- name: ⤵️ Check out configuration from GitHub | |
uses: actions/checkout@v4 | |
- name: 🚀 Run Home Assistant Configuration Check | |
uses: frenck/action-home-assistant@v1 | |
with: | |
path: "." | |
secrets: .stub/fakesecrets.yaml | |
version: "${{ matrix.version }}" |