Skip to content

Commit a7c0f37

Browse files
authored
Disable sonar job
For some reason, sonar started to analyse very old PRs. This comments out the sonar job until further investigation is done.
1 parent 80d6fff commit a7c0f37

1 file changed

Lines changed: 27 additions & 27 deletions

File tree

.github/workflows/ci.yml

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -40,34 +40,34 @@ jobs:
4040
with:
4141
name: app
4242
path: app/build/outputs/apk/debug/*.apk
43-
sonar:
44-
runs-on: ubuntu-latest
45-
steps:
46-
- uses: actions/checkout@v2
47-
with:
48-
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
43+
# sonar:
44+
# runs-on: ubuntu-latest
45+
# steps:
46+
# - uses: actions/checkout@v2
47+
# with:
48+
# fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
4949

50-
- name: Set up JDK 11
51-
uses: actions/setup-java@v1.4.3
52-
with:
53-
java-version: 11 # Sonar requires JDK 11
50+
# - name: Set up JDK 11
51+
# uses: actions/setup-java@v1.4.3
52+
# with:
53+
# java-version: 11 # Sonar requires JDK 11
5454

55-
- name: Cache SonarCloud packages
56-
uses: actions/cache@v2
57-
with:
58-
path: ~/.sonar/cache
59-
key: ${{ runner.os }}-sonar
60-
restore-keys: ${{ runner.os }}-sonar
55+
# - name: Cache SonarCloud packages
56+
# uses: actions/cache@v2
57+
# with:
58+
# path: ~/.sonar/cache
59+
# key: ${{ runner.os }}-sonar
60+
# restore-keys: ${{ runner.os }}-sonar
6161

62-
- name: Cache Gradle packages
63-
uses: actions/cache@v2
64-
with:
65-
path: ~/.gradle/caches
66-
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
67-
restore-keys: ${{ runner.os }}-gradle
62+
# - name: Cache Gradle packages
63+
# uses: actions/cache@v2
64+
# with:
65+
# path: ~/.gradle/caches
66+
# key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
67+
# restore-keys: ${{ runner.os }}-gradle
6868

69-
- name: Build and analyze
70-
env:
71-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
72-
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
73-
run: ./gradlew build sonarqube --info
69+
# - name: Build and analyze
70+
# env:
71+
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
72+
# SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
73+
# run: ./gradlew build sonarqube --info

0 commit comments

Comments
 (0)