mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
Sonarcloud: Enable caching
Signed-off-by: Felix Weilbach <felix.weilbach@nextcloud.com>
This commit is contained in:
parent
4008bdd295
commit
daa205bcef
7
.github/workflows/sonarcloud.yml
vendored
7
.github/workflows/sonarcloud.yml
vendored
@ -17,6 +17,13 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
|
||||
|
||||
- name: Restore cache
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: /cache
|
||||
key: ${{ runner.os }}
|
||||
|
||||
- name: Run build-wrapper
|
||||
run: |
|
||||
mkdir build
|
||||
|
||||
@ -5,3 +5,5 @@ sonar.exclusions=3rdparty/**
|
||||
sonar.language=c++
|
||||
sonar.cfamily.cache.enabled=false
|
||||
sonar.cfamily.threads=2
|
||||
sonar.cfamily.cache.enabled=true,
|
||||
sonar.cfamily.cache.path=/cache/sonarcloud
|
||||
|
||||
Loading…
Reference in New Issue
Block a user