-
Notifications
You must be signed in to change notification settings - Fork 1
49 lines (44 loc) · 1.34 KB
/
homeassistant.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
---
name: Home Assistant CI
# yamllint disable rule:line-length
on:
push:
pull_request:
schedule:
- cron: 0 12 * * *
jobs:
yamllint:
runs-on: ubuntu-latest
steps:
- name: Getting your configuration from GitHub
uses: actions/checkout@v4
- name: Running YAMLlint
uses: "docker://pipelinecomponents/yamllint:latest"
with:
args: yamllint .
remarklint:
runs-on: ubuntu-latest
steps:
- name: Getting your configuration from GitHub
uses: actions/checkout@v4
- name: Running Remark lint
uses: "docker://pipelinecomponents/remark-lint:latest"
continue-on-error: true
with:
args: "remark --no-stdout --color --frail --use preset-lint-recommended ."
home_assistant:
runs-on: ubuntu-latest
needs: [yamllint, remarklint]
strategy:
matrix:
version: ["stable", "beta", "dev"]
steps:
- name: Getting your configuration from GitHub
uses: actions/checkout@v4
- name: Generate secrets
run: ./scripts/hass-gen-ci-secrets.sh && mv homeassistant-config/ci-secrets.yaml homeassistant-config/secrets.yaml
- name: Home Assistant Configuration check
uses: frenck/[email protected]
with:
path: ./homeassistant-config
version: "${{ matrix.version }}"