Skip to content

Commit f40b4c8

Browse files
committed
add validate.yml
1 parent 717acf0 commit f40b4c8

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/validate.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Push pand PR actions
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
jobs:
8+
validate:
9+
runs-on: "ubuntu-latest"
10+
name: Validate
11+
steps:
12+
- uses: "actions/checkout@v2"
13+
- name: HACS validation
14+
uses: "hacs/integration/action@master"
15+
with:
16+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
17+
CATEGORY: "integration"
18+
19+
- name: Hassfest validation
20+
uses: "home-assistant/actions/hassfest@master"
21+
22+
style:
23+
runs-on: "ubuntu-latest"
24+
name: Check style formatting
25+
steps:
26+
- uses: "actions/checkout@v2"
27+
- uses: "actions/setup-python@v1"
28+
with:
29+
python-version: "3.x"
30+
- run: python3 -m pip install black
31+
- run: black .

0 commit comments

Comments
 (0)