Skip to content

v5.0.0

v5.0.0 #645

Workflow file for this run

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