Merge pull request #136 from nbogojevic/dev #195
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: Repository validation | |
on: | |
push: | |
pull_request: | |
jobs: | |
validate: | |
runs-on: "ubuntu-latest" | |
name: Validate | |
steps: | |
- uses: "actions/checkout@v2" | |
- name: HACS validation | |
uses: "hacs/action@main" | |
with: | |
category: "integration" | |
ignore: brands | |
- name: Hassfest validation | |
uses: "home-assistant/actions/hassfest@master" | |
style: | |
runs-on: "ubuntu-latest" | |
name: Check style formatting | |
steps: | |
- uses: "actions/checkout@v2" | |
- uses: "actions/setup-python@v1" | |
with: | |
python-version: "3.x" | |
- run: python3 -m pip install black | |
- run: black . |