]> git.giorgioravera.it Git - mercedes_me_api.git/commitdiff
Splitted github actions
authorGiorgio Ravera <giorgio.ravera@gmail.com>
Tue, 29 Dec 2020 12:34:00 +0000 (13:34 +0100)
committerGitHub Actions <41898282+github-actions[bot]@users.noreply.github.com>
Tue, 29 Dec 2020 12:36:26 +0000 (12:36 +0000)
.github/workflows/combined.yaml [deleted file]
.github/workflows/formatting.yaml [new file with mode: 0644]
.github/workflows/validate.yaml [new file with mode: 0644]

diff --git a/.github/workflows/combined.yaml b/.github/workflows/combined.yaml
deleted file mode 100644 (file)
index 2b4916a..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-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
-          ignore: brands
-      - uses: KTibow/ha-blueprint@stable
-        name: CI
-        with:
-          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
diff --git a/.github/workflows/formatting.yaml b/.github/workflows/formatting.yaml
new file mode 100644 (file)
index 0000000..c4ec00a
--- /dev/null
@@ -0,0 +1,26 @@
+name: Formatting
+
+on:
+  push:
+  pull_request:
+
+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: "KTibow/ha-blueprint@stable"
+        name: CI
+        with:
+          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
diff --git a/.github/workflows/validate.yaml b/.github/workflows/validate.yaml
new file mode 100644 (file)
index 0000000..fc1b5f9
--- /dev/null
@@ -0,0 +1,17 @@
+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"