-
Notifications
You must be signed in to change notification settings - Fork 0
90 lines (86 loc) · 3.25 KB
/
main.yml
File metadata and controls
90 lines (86 loc) · 3.25 KB
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
---
name: Home Assistant CI
# yamllint disable-line rule:truthy
on:
push:
pull_request:
schedule:
- cron: 0 12 * * *
jobs:
yamllint:
name: 🧹 yamllint
runs-on: ubuntu-latest
steps:
- name: Check out configuration from GitHub
uses: actions/checkout@v3
- name: Run yamllint
uses: frenck/action-yamllint@v1.3.0
remarklint:
runs-on: ubuntu-22.04
steps:
- name: Check out configuration from GitHub
uses: actions/checkout@v3
- 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:
name: "Home Assistant Core ${{ matrix.version }} Configuration Check"
needs: [yamllint]
runs-on: ubuntu-latest
strategy:
matrix:
version: ["stable", "beta", "dev"]
steps:
- name: Check out configuration from GitHub
uses: actions/checkout@v3
- name: Create Deepstack save folder
run: |
mkdir -p ./deepstacksavefolder
- name: Create empty custom components folder
run: |
if [ -d "custom_components" ]; then rm -Rf custom_components; fi
mkdir -p ./custom_components
- name: Clone custom component HASS-Deepstack-object
run: |
git clone https://github.com/robmarkcole/HASS-Deepstack-object.git
mv -v HASS-Deepstack-object/custom_components/* ./custom_components/
- name: Clone custom component classificationbox
run: "git clone https://github.com/robmarkcole/\
HASS-Machinebox-Classificationbox.git cb;\
mv -v cb/custom_components/* ./custom_components/"
- name: Clone custom component dlink_hnap
run: |
git clone https://github.com/postlund/dlink_hnap.git
mv -v dlink_hnap/custom_components/* ./custom_components/
- name: Clone custom component ha-birthdays
run: |
git clone https://github.com/Miicroo/ha-birthdays.git
mv -v ha-birthdays/custom_components/* ./custom_components/
- name: Clone custom component hass-floureon
run: |
git clone https://github.com/algirdasc/hass-floureon.git
mv -v hass-floureon/custom_components/* ./custom_components/
- name: Clone custom component hildebrandglow
run: |
git clone https://github.com/unlobito/ha-hildebrandglow.git
mv -v ha-hildebrandglow/custom_components/* ./custom_components/
- name: Clone custom component weatherbit
run: |
git clone https://github.com/briis/weatherbit.git weatherbit_git
mv -v weatherbit_git/custom_components/* ./custom_components/
- name: Clone custom component eufy_vacuum
run: |
git clone https://github.com/pbulteel/eufy_vacuum.git eufy
mv -v eufy/custom_components/* ./custom_components/
- name: "List Custom Componenets"
run: |
ls ./custom_components/classificationbox
- name: Run Home Assistant Configuration Check
uses: frenck/action-home-assistant@v1.3
with:
path: "."
secrets: ./test_secrets.yaml
version: "${{ matrix.version }}"