From 0817ef3a76c7ffab4ee11e5206d20758065afc63 Mon Sep 17 00:00:00 2001 From: FICHET Philippe Date: Thu, 28 Dec 2023 11:55:16 +0100 Subject: [PATCH] "sonarcloud" branch analysis --- .github/workflows/maven.yml | 7 +++++-- README.adoc | 5 +++++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 0ad5293..f62d61f 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -5,9 +5,12 @@ name: Java CI with Maven on: push: - branches: [ master ] + branches: + - master + - sonarcloud pull_request: - branches: [ master ] + branches: + - master jobs: build: diff --git a/README.adoc b/README.adoc index ae8273e..b9f02c1 100644 --- a/README.adoc +++ b/README.adoc @@ -27,9 +27,14 @@ It requests netbeans in version 13.0 or higher and Java in version 11 or higher. - Enable or disabled test rules on test files - Severity icons - Partial Support on C/C++ project (show xref:README-CFamily.adoc[README-CFamily]) +- SonarCloud/SonarQube support == Release 2.x to 3.x +== SonarCloud + +Branch analysis must be https://docs.sonarsource.com/sonarcloud/enriching/branch-analysis-setup/#sonarlint[correctly configured] to be fully functional, otherwise only analysis on the main branch will be performed. + === Plugins SonarLint no longer uses URLs to find plugins but file paths. +