Commit Graph

7 Commits

Author SHA1 Message Date
hieplq 7a66540bca
IDEMPIERE-4360 setup to use code quality to perform automatic reviews with static analysis (#1919)
* IDEMPIERE-4360:code quality to perform automatic reviews with static analysis

update actions/setup-java to v3

update actions/checkout to v3

update codeql-action to v2

update actions/cache to v3, use separate action for restore and save
include build branch to cache key

* IDEMPIERE-4360:code quality to perform automatic reviews with static analysis

update java to 17 to adapt with IDEMPIERE-5448 2023 June Platform Update

* IDEMPIERE-4360:code quality to perform automatic reviews with static analysis

don't need complicate for master branch, in case switch from master-x to master-y, it's ok to re-build cache. not much happen this case
2023-07-01 10:37:24 +02:00
hieplq 58c6716253
IDEMPIERE-4360 exclude generate and test code to speed up (#440)
* IDEMPIERE-4360 add sonarcloud.io

* IDEMPIERE-4360 add sonarcloud.io (update properties)

* IDEMPIERE-4360 add sonarcloud.io (optimize)

1. when use matrix for codeql-action then job of javascript run same job of java (mvn, sonar)
so don't use matrix do define separate job let javascript job faster a lot
2. reduce maven log and sonar log from info to warn
3. move project info from pom to yml let fork central place customize CI

* IDEMPIERE-4360 turn off sonar at PR because not yet support

https://stackoverflow.com/a/39720346

* IDEMPIERE-4360 exclude generate and test code to speed up

* IDEMPIERE-4360 add sonarcloud.io (optimize)

1. parallel sonar and code QL
2. parameter for repository owner (org)
2020-12-06 16:50:14 +01:00
hieplq fb053003a9
IDEMPIERE-4360 turn off sonar at PR because not yet support (#439)
* IDEMPIERE-4360 add sonarcloud.io

* IDEMPIERE-4360 add sonarcloud.io (update properties)

* IDEMPIERE-4360 add sonarcloud.io (optimize)

1. when use matrix for codeql-action then job of javascript run same job of java (mvn, sonar)
so don't use matrix do define separate job let javascript job faster a lot
2. reduce maven log and sonar log from info to warn
3. move project info from pom to yml let fork central place customize CI

* IDEMPIERE-4360 turn off sonar at PR because not yet support

https://stackoverflow.com/a/39720346
2020-12-05 16:33:26 +01:00
hieplq 87e55ae08f
IDEMPIERE-4360 add sonarcloud.io (optimize) (#426)
* IDEMPIERE-4360 add sonarcloud.io

* IDEMPIERE-4360 add sonarcloud.io (update properties)

* IDEMPIERE-4360 add sonarcloud.io (optimize)

1. when use matrix for codeql-action then job of javascript run same job of java (mvn, sonar)
so don't use matrix do define separate job let javascript job faster a lot
2. reduce maven log and sonar log from info to warn
3. move project info from pom to yml let fork central place customize CI
2020-12-01 10:38:48 +01:00
hieplq 5f30b001e0
IDEMPIERE-4360 add sonarcloud.io (#421) 2020-11-30 09:37:49 +07:00
Carlos Ruiz a18a861c5e
Update codeql-analysis.yml
Thought it was going to be straight - if it doesn't work this way will revert and do tests in forked repo
2020-10-01 15:21:47 +02:00
Carlos Ruiz 8fa3ebf286
Create codeql-analysis.yml 2020-10-01 14:27:15 +02:00