Skip to content

Bump actions/checkout from 4.1.7 to 4.2.2 #265

Bump actions/checkout from 4.1.7 to 4.2.2

Bump actions/checkout from 4.1.7 to 4.2.2 #265

Workflow file for this run

name: "Validate"
on:
workflow_dispatch:
push:
branches:
- main
pull_request:
jobs:
hassfest: # https://developers.home-assistant.io/blog/2020/04/16/hassfest
name: "Hassfest Validation"
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v4.2.2"
- name: "Run hassfest validation"
uses: "home-assistant/actions/hassfest@master"
hacs: # https://github.com/hacs/action
name: "HACS Validation"
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v4.2.2"
- name: "Run HACS validation"
uses: "hacs/action@main"
with:
category: "integration"
test:
name: "Unit tests"
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v4.2.2"
- name: "Set up Python"
uses: actions/setup-python@v5.0.0
with:
python-version: "3.12"
cache: "pip"
- name: "Install requirements"
run: python3 -m pip install -r requirements-test.txt
- name: Run tests
run: pytest