mirror of
https://github.com/tomaae/homeassistant-mikrotik_router.git
synced 2025-08-31 23:10:05 +02:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
290a333d64
2 changed files with 21 additions and 13 deletions
13
.github/workflows/ci.yml
vendored
13
.github/workflows/ci.yml
vendored
|
@ -63,16 +63,3 @@ jobs:
|
||||||
uses: "actions/checkout@v2"
|
uses: "actions/checkout@v2"
|
||||||
- name: Run hassfest
|
- name: Run hassfest
|
||||||
uses: home-assistant/actions/hassfest@master
|
uses: home-assistant/actions/hassfest@master
|
||||||
|
|
||||||
sonarcloud:
|
|
||||||
name: SonarCloud
|
|
||||||
needs: [black, tests]
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Check out code from GitHub
|
|
||||||
uses: "actions/checkout@v2"
|
|
||||||
- name: SonarCloud Code Analysis
|
|
||||||
uses: sonarsource/sonarcloud-github-action@master
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|
|
||||||
|
|
21
.github/workflows/sonarcloud.yml
vendored
Normal file
21
.github/workflows/sonarcloud.yml
vendored
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
name: SonarCloud
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
paths:
|
||||||
|
- 'custom_components/**'
|
||||||
|
- 'tests/**'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
|
||||||
|
sonarcloud:
|
||||||
|
name: SonarCloud
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Check out code from GitHub
|
||||||
|
uses: "actions/checkout@v2"
|
||||||
|
- name: SonarCloud Code Analysis
|
||||||
|
uses: sonarsource/sonarcloud-github-action@master
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|
Loading…
Add table
Add a link
Reference in a new issue