From: Giorgio Ravera Date: Tue, 29 Dec 2020 12:34:00 +0000 (+0100) Subject: Splitted github actions X-Git-Tag: v0.10~3 X-Git-Url: http://git.giorgioravera.it/?a=commitdiff_plain;h=81c9dadc39f68432d022d81b770b1a351a787fa0;p=mercedes_me_api.git Splitted github actions --- diff --git a/.github/workflows/combined.yaml b/.github/workflows/combined.yaml deleted file mode 100644 index 2b4916a..0000000 --- a/.github/workflows/combined.yaml +++ /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 index 0000000..c4ec00a --- /dev/null +++ b/.github/workflows/formatting.yaml @@ -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 index 0000000..fc1b5f9 --- /dev/null +++ b/.github/workflows/validate.yaml @@ -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"