Compare commits
No commits in common. "c177d499340efc5c0926a142f5f107ff7d8fc1b9" and "bcf59ee0e7f6a3bc33e6895fe816997ba2d282bc" have entirely different histories.
c177d49934
...
bcf59ee0e7
2 changed files with 16 additions and 1 deletions
16
.github/workflows/gradle.yml
vendored
16
.github/workflows/gradle.yml
vendored
|
@ -8,6 +8,7 @@ jobs:
|
|||
|
||||
env:
|
||||
GRADLE_OPTS: "-Dorg.gradle.jvmargs=-XX:MaxMetaspaceSize=512m"
|
||||
SONAR_JDK: "11"
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
|
@ -27,7 +28,22 @@ jobs:
|
|||
- name: Grant execute permission for gradlew
|
||||
run: chmod +x gradlew
|
||||
|
||||
- name: Cache SonarCloud packages
|
||||
if: matrix.java-version == env.SONAR_JDK
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: ~/.sonar/cache
|
||||
key: ${{ runner.os }}-sonar
|
||||
restore-keys: ${{ runner.os }}-sonar
|
||||
|
||||
- name: Test with Gradle
|
||||
uses: gradle/gradle-build-action@v2
|
||||
with:
|
||||
arguments: build check --stacktrace -PtestsBadgeApiKey=${{ secrets.TESTS_BADGE_API_KEY }}
|
||||
|
||||
- name: SonarCloud
|
||||
if: success() && matrix.java-version == env.SONAR_JDK
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|
||||
run: ./gradlew sonar --info -Dsonar.verbose=true
|
||||
|
|
|
@ -17,7 +17,6 @@
|
|||
|
||||
plugins {
|
||||
buildsrc.conventions.base
|
||||
id("org.jetbrains.kotlinx.kover")
|
||||
}
|
||||
|
||||
group = "net.thauvin.erik"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue