bump sonarcloud-github-action to v3.1.0
This commit is contained in:
11
.github/workflows/python-app.yml
vendored
11
.github/workflows/python-app.yml
vendored
@@ -33,15 +33,6 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
# - name: Start Mosquitto
|
|
||||||
# uses: namoshek/mosquitto-github-action@v1
|
|
||||||
# with:
|
|
||||||
# version: '1.6'
|
|
||||||
# ports: '1883:1883 8883:8883'
|
|
||||||
# certificates: ${{ github.workspace }}/.ci/tls-certificates
|
|
||||||
# config: ${{ github.workspace }}/.ci/mosquitto.conf
|
|
||||||
# password-file: ${{ github.workspace}}/.ci/mosquitto.passwd
|
|
||||||
# container-name: 'mqtt'
|
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
|
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
|
||||||
@@ -65,7 +56,7 @@ jobs:
|
|||||||
python -m pytest app --cov=app/src --cov-report=xml
|
python -m pytest app --cov=app/src --cov-report=xml
|
||||||
coverage report
|
coverage report
|
||||||
- name: Analyze with SonarCloud
|
- name: Analyze with SonarCloud
|
||||||
uses: SonarSource/sonarcloud-github-action@v2.2.0
|
uses: SonarSource/sonarcloud-github-action@v3.1.0
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|
||||||
|
|||||||
Reference in New Issue
Block a user