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 10:43:33 UTC
[shardingsphere] branch master updated: Refactor : change the frequency of sonarcloud (#25368)
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 8ecc68d0e45 Refactor : change the frequency of sonarcloud (#25368)
8ecc68d0e45 is described below
commit 8ecc68d0e45e67147dd59cb8e276e2f89487eff5
Author: 孙念君 Nianjun Sun <su...@apache.org>
AuthorDate: Thu Apr 27 18:43:24 2023 +0800
Refactor : change the frequency of sonarcloud (#25368)
Co-authored-by: shardingsphere <de...@shardingsphere.apache.org>
---
.github/workflows/nightly-check-sonarcloud.yml | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/.github/workflows/nightly-check-sonarcloud.yml b/.github/workflows/nightly-check-sonarcloud.yml
index 3b5f6847a5b..97f90e74dd5 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 */2 * * *' # every two hours
+ - cron: '0 */1 * * *' # every two hours
workflow_dispatch:
concurrency:
@@ -54,11 +54,9 @@ 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"
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONARCLOUD_TOKEN }}
- run: ./mvnw -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=apache_shardingsphere -Dmaven.javadoc.skip=true -B -Drat.skip=true -Djacoco.skip=true -Dmaven.test.skip=true
+ run: ./mvnw -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=apache_shardingsphere -Dmaven.javadoc.skip=true -Drat.skip=true -Djacoco.skip=true -DskipTests