]> git.giorgioravera.it Git - mercedes_me_api.git/commitdiff
Add advanced all-in-one action
authorKendell R <KTibow@users.noreply.github.com>
Mon, 21 Dec 2020 18:39:07 +0000 (10:39 -0800)
committerGitHub <noreply@github.com>
Mon, 21 Dec 2020 18:39:07 +0000 (10:39 -0800)
.github/workflows/combined.yaml [new file with mode: 0644]
.github/workflows/hassfest.yaml [deleted file]

diff --git a/.github/workflows/combined.yaml b/.github/workflows/combined.yaml
new file mode 100644 (file)
index 0000000..0c8b986
--- /dev/null
@@ -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 (file)
index fc1b5f9..0000000
+++ /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"