mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
.github: fix sonar checks (#10894)
* .github: fix sonar check * .github: fix main sonar check * add more pom.xml files
This commit is contained in:
parent
96b8e23767
commit
97c96a55ba
2
.github/workflows/main-sonar-check.yml
vendored
2
.github/workflows/main-sonar-check.yml
vendored
@ -54,7 +54,7 @@ jobs:
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
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: |
|
||||
${{ runner.os }}-m2
|
||||
|
||||
|
||||
2
.github/workflows/sonar-check.yml
vendored
2
.github/workflows/sonar-check.yml
vendored
@ -56,7 +56,7 @@ jobs:
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
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: |
|
||||
${{ runner.os }}-m2
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user