Skip to content

Update sonarcloud.yml #4

Update sonarcloud.yml

Update sonarcloud.yml #4

Workflow file for this run

name: Build
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:
permissions:
pull-requests: read
jobs:
Analysis:
runs-on: ubuntu-latest
environment: nome-do-seu-ambiente
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Analyze with SonarCloud
uses: SonarSource/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
with:
args: >
-Dsonar.projectKey=FelipeAJdev_energyGames
-Dsonar.organization=felipeajdev
-Dsonar.sources=.