[Improve](CI)Modify Deadline-check trigger mode, and add maven cache for Sonarcheck (#23069)
There are a lot of deadlinks in stock, we will reopen it after a full repair…
This commit is contained in:
3
.github/workflows/deadlink-check.yml
vendored
3
.github/workflows/deadlink-check.yml
vendored
@ -17,9 +17,8 @@
|
||||
name: Dead Link Checker
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
schedule:
|
||||
- cron: '0 18 * * *' # TimeZone: UTC 0
|
||||
- cron: '30 3,14 * * *'
|
||||
|
||||
concurrency:
|
||||
group: dlc-${{ github.event.pull_request.number || github.ref }}
|
||||
|
||||
10
.github/workflows/sonarcloud.yml
vendored
10
.github/workflows/sonarcloud.yml
vendored
@ -70,10 +70,18 @@ jobs:
|
||||
shell: bash
|
||||
run: |
|
||||
bash generated-source.sh
|
||||
- name: Cache local Maven repository
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: ~/.m2/repository
|
||||
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-maven-
|
||||
- name: Analyze FE
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|
||||
MAVEN_OPTS: -Xmx4g
|
||||
run: |
|
||||
cd fe
|
||||
mvn --batch-mode verify sonar:sonar -DskipTests -Dsonar.host.url=https://sonarcloud.io -Dsonar.organization=apache -Dsonar.projectKey=apache_incubator-doris -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 -Xmx4g -XX:MaxPermSize=512m
|
||||
mvn --batch-mode verify sonar:sonar -DskipTests -Dsonar.host.url=https://sonarcloud.io -Dsonar.organization=apache -Dsonar.projectKey=apache_incubator-doris -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120
|
||||
|
||||
Reference in New Issue
Block a user