From 286f0f145fdbdd9c409cae51854e6d6ed94ef583 Mon Sep 17 00:00:00 2001 From: Artem Sorokin Date: Mon, 22 Apr 2024 16:44:12 +0300 Subject: [PATCH] =?UTF-8?q?ci:=20=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=20=D0=B7=D0=B0=D0=BF=D1=83=D1=81=D0=BA=20pre-commi?= =?UTF-8?q?t=20=D0=B8=20=D0=BF=D1=80=D0=BE=D0=B2=D0=B5=D1=80=D0=BA=D0=B8?= =?UTF-8?q?=20=D0=B4=D0=BB=D1=8F=20HACS?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..131c7e5 --- /dev/null +++ b/.github/workflows/ci.yml @@ -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