# Required metadata | |
sonar.login={sonarcloud_api_token} | |
sonar.projectKey={sonarcloud_project_organization}_{project-name} | |
sonar.organization={sonarcloud_project_organization} | |
# Encoding | |
sonar.build.sourceEncoding=UTF-8 | |
# Language | |
sonar.language=go | |
# Source | |
sonar.sources=. | |
# Unit tests | |
sonar.go.coverage.reportPaths=coverage.txt | |
# Inclusions | |
sonar.inclusions=main.go,internal/**/**.go | |
# Exclusions | |
sonar.exclusions=main_test.go,internal/,internal/**/*_test.go,internal/**/*.gen.go,internal/**/mocks/** |