v5.0.0 #640
Workflow file for this run
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" | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
validate-ruff: | |
name: With Ruff | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v4 | |
- name: Check ruff | |
uses: chartboost/ruff-action@v1 | |
with: | |
args: 'format --diff' | |
validate-hassfest: | |
name: With hassfest | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v4 | |
- name: "Update manifest.json" | |
run: | | |
python3 ${{ github.workspace }}/manage/update_manifest.py | |
- name: Hassfest validation | |
uses: home-assistant/actions/hassfest@master | |
validate-hacs: | |
name: With HACS action | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v4 | |
- name: "Update manifest.json" | |
run: | | |
python3 ${{ github.workspace }}/manage/update_manifest.py | |
- name: HACS Validation | |
uses: hacs/action@main | |
with: | |
category: integration | |
comment: True | |
# - uses: actions/setup-python@v5 | |
# name: Setup Python | |
# - uses: actions/cache@v2 | |
# name: PIP Cache | |
# with: | |
# path: | | |
# ~/.cache/pip | |
# key: custom-component-ci | |
# - uses: hacs/action@main | |
# name: HACS Validation | |
# with: | |
# CATEGORY: integration | |
# - uses: home-assistant/actions/hassfest@master | |
# name: Hassfest Validation |