Skip to content

Commit

Permalink
ci: Добавлен запуск pre-commit и проверки для HACS
Browse files Browse the repository at this point in the history
  • Loading branch information
dext0r committed Apr 22, 2024
1 parent 86bc724 commit 286f0f1
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: CI

on:
push:
branches:
- '*'
tags-ignore:
- 'v*'
pull_request:

jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- uses: actions/setup-python@v4
with:
python-version: '3.11'

- uses: pre-commit/action@v3.0.1

validate:
name: Validate for HACS
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: HACS validation
uses: hacs/action@main
with:
category: integration

0 comments on commit 286f0f1

Please sign in to comment.