You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by zh...@apache.org on 2023/04/27 06:38:44 UTC

[shardingsphere] branch master updated: Refactor : make sonar scheduler (#25352)

This is an automated email from the ASF dual-hosted git repository.

zhaojinchao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git


The following commit(s) were added to refs/heads/master by this push:
     new c4f4384c7ac Refactor : make sonar scheduler (#25352)
c4f4384c7ac is described below

commit c4f4384c7acfdbfb344ffd3e6efdb4608cb39ecc
Author: 孙念君 Nianjun Sun <su...@apache.org>
AuthorDate: Thu Apr 27 14:38:38 2023 +0800

    Refactor : make sonar scheduler (#25352)
    
    Co-authored-by: shardingsphere <de...@shardingsphere.apache.org>
---
 .github/workflows/nightly-check-sonarcloud.yml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/nightly-check-sonarcloud.yml b/.github/workflows/nightly-check-sonarcloud.yml
index f8121c2d76f..3b5f6847a5b 100644
--- a/.github/workflows/nightly-check-sonarcloud.yml
+++ b/.github/workflows/nightly-check-sonarcloud.yml
@@ -18,7 +18,7 @@
 name: Nightly Check - SonarCloud
 on:
   schedule:
-    - cron: '0 17 */1 * *'  # once a day. UTC time
+    - cron: '0 */2 * * *'  # every two hours
   workflow_dispatch:
 
 concurrency:
@@ -54,6 +54,8 @@ jobs:
           key: ${{ env.REPOSITORY_NAME }}-maven-third-party-${{ hashFiles('**/pom.xml') }}
           restore-keys: |
             ${{ env.REPOSITORY_NAME }}-maven-third-party-
+      - name: Build dependencies
+        run: ./mvnw -B clean install -Dmaven.javadoc.skip=true -Drat.skip=true -Djacoco.skip=true -Dspotless.apply.skip=true
       - name: Build and analyze
         env:
           MAVEN_OPTS: "-XX:+UseG1GC -XX:InitialHeapSize=2g -XX:MaxHeapSize=6g -XX:+UseStringDeduplication"