mirror of
https://github.com/sonarsource/sonarcloud-github-action.git
synced 2026-06-09 00:17:17 +00:00
added syntax highlighting to README
This commit is contained in:
parent
b1cb00842a
commit
296a30c54d
1 changed files with 2 additions and 2 deletions
|
|
@ -15,7 +15,7 @@ SonarCloud is the leading product for Continuous Code Quality & Code Security on
|
||||||
|
|
||||||
Project metadata, including the location to the sources to be analyzed, must be declared in the file `sonar-project.properties` in the base directory:
|
Project metadata, including the location to the sources to be analyzed, must be declared in the file `sonar-project.properties` in the base directory:
|
||||||
|
|
||||||
```
|
```properties
|
||||||
sonar.organization=<replace with your SonarCloud organization key>
|
sonar.organization=<replace with your SonarCloud organization key>
|
||||||
sonar.projectKey=<replace with the key generated when setting up the project on SonarCloud>
|
sonar.projectKey=<replace with the key generated when setting up the project on SonarCloud>
|
||||||
|
|
||||||
|
|
@ -26,7 +26,7 @@ sonar.sources=.
|
||||||
|
|
||||||
The workflow, usually declared in `.github/main.workflow`, looks like:
|
The workflow, usually declared in `.github/main.workflow`, looks like:
|
||||||
|
|
||||||
```
|
```yaml
|
||||||
on: push
|
on: push
|
||||||
name: Main Workflow
|
name: Main Workflow
|
||||||
jobs:
|
jobs:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue