This commit is contained in:
Stuart Armstrong 2023-06-09 13:04:06 +03:00
parent a00ba44968
commit 7bbc00393c
1 changed files with 1 additions and 3 deletions

View File

@ -67,7 +67,7 @@ jobs:
cache-name: cache-sonar-modules
with:
path: /opt/hostedtoolcache/.sonar/
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/build.gradle','**/settings.gradle') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
@ -75,8 +75,6 @@ jobs:
- name: run gradle sonar scan
if: ${{ inputs.sonar_enabled }}
env:
SONAR_USER_HOME: "/opt/hostedtoolcache/.sonar"
run: ./gradlew sonar -i -s
- name: dockerfile lint check