From d89c70210ee25a865c1bcbd1bec5532837107e2c Mon Sep 17 00:00:00 2001 From: Kendell R Date: Mon, 21 Dec 2020 10:39:07 -0800 Subject: [PATCH] Add advanced all-in-one action --- .github/workflows/combined.yaml | 29 +++++++++++++++++++++++++++++ .github/workflows/hassfest.yaml | 17 ----------------- 2 files changed, 29 insertions(+), 17 deletions(-) create mode 100644 .github/workflows/combined.yaml delete mode 100644 .github/workflows/hassfest.yaml diff --git a/.github/workflows/combined.yaml b/.github/workflows/combined.yaml new file mode 100644 index 0000000..0c8b986 --- /dev/null +++ b/.github/workflows/combined.yaml @@ -0,0 +1,29 @@ +name: "Validation And Formatting" +on: + push: + pull_request: + schedule: + - cron: '0 0 * * *' +jobs: + ci: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + name: Download repo + with: + fetch-depth: 0 + - uses: actions/setup-python@v2 + name: Setup Python + - uses: actions/cache@v2 + name: Cache + with: + path: | + ~/.cache/pip + key: custom-component-ci + - uses: hacs/action@main + with: + CATEGORY: integration + - uses: KTibow/ha-blueprint@stable + name: CI + with: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/hassfest.yaml b/.github/workflows/hassfest.yaml deleted file mode 100644 index fc1b5f9..0000000 --- a/.github/workflows/hassfest.yaml +++ /dev/null @@ -1,17 +0,0 @@ -name: Validate - -on: - push: - pull_request: - schedule: - - cron: "0 0 * * *" - -jobs: - validate: - runs-on: "ubuntu-latest" - steps: - - uses: "actions/checkout@v2" - - name: HACS validation - uses: "hacs/action@main" - with: - category: "integration" -- 2.47.3