Compare commits
2 commits
bcf59ee0e7
...
c177d49934
Author | SHA1 | Date | |
---|---|---|---|
c177d49934 | |||
de16f451fa |
2 changed files with 1 additions and 16 deletions
16
.github/workflows/gradle.yml
vendored
16
.github/workflows/gradle.yml
vendored
|
@ -8,7 +8,6 @@ jobs:
|
|||
|
||||
env:
|
||||
GRADLE_OPTS: "-Dorg.gradle.jvmargs=-XX:MaxMetaspaceSize=512m"
|
||||
SONAR_JDK: "11"
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
|
@ -28,22 +27,7 @@ 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,6 +17,7 @@
|
|||
|
||||
plugins {
|
||||
buildsrc.conventions.base
|
||||
id("org.jetbrains.kotlinx.kover")
|
||||
}
|
||||
|
||||
group = "net.thauvin.erik"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue