.github: fix sonar checks (#10894)

* .github: fix sonar check

* .github: fix main sonar check

* add more pom.xml files
This commit is contained in:
Wei Zhou 2025-05-20 15:26:54 +02:00
parent f99fb3ecde
commit f2a6a2ff13
No known key found for this signature in database
GPG Key ID: 1503DFE7C8226103
2 changed files with 2 additions and 2 deletions

View File

@ -54,7 +54,7 @@ jobs:
uses: actions/cache@v4 uses: actions/cache@v4
with: with:
path: ~/.m2/repository path: ~/.m2/repository
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} key: ${{ runner.os }}-m2-${{ hashFiles('pom.xml', '*/pom.xml', '*/*/pom.xml', '*/*/*/pom.xml') }}
restore-keys: | restore-keys: |
${{ runner.os }}-m2 ${{ runner.os }}-m2

View File

@ -56,7 +56,7 @@ jobs:
uses: actions/cache@v4 uses: actions/cache@v4
with: with:
path: ~/.m2/repository path: ~/.m2/repository
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} key: ${{ runner.os }}-m2-${{ hashFiles('pom.xml', '*/pom.xml', '*/*/pom.xml', '*/*/*/pom.xml') }}
restore-keys: | restore-keys: |
${{ runner.os }}-m2 ${{ runner.os }}-m2