Run test instead of check with Java 24
Detekt doesn't currently support Java 24
This commit is contained in:
parent
046a2c3ccc
commit
7f790c5e67
1 changed files with 6 additions and 1 deletions
7
.github/workflows/gradle.yml
vendored
7
.github/workflows/gradle.yml
vendored
|
@ -37,9 +37,14 @@ jobs:
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-gradle-${{ matrix.java-version }}-
|
${{ runner.os }}-gradle-${{ matrix.java-version }}-
|
||||||
|
|
||||||
- name: Test with Gradle
|
- name: Check with Gradle
|
||||||
|
if: ${{ matrix.java-version }} != '24'
|
||||||
run: ./gradlew build check --stacktrace
|
run: ./gradlew build check --stacktrace
|
||||||
|
|
||||||
|
- name: Test with Gradle
|
||||||
|
if: ${{ matrix.java-version }} == '24'
|
||||||
|
run: ./gradlew build test --stacktrace
|
||||||
|
|
||||||
- name: Cleanup Gradle Cache
|
- name: Cleanup Gradle Cache
|
||||||
run: |
|
run: |
|
||||||
rm -f ~/.gradle/caches/modules-2/modules-2.lock
|
rm -f ~/.gradle/caches/modules-2/modules-2.lock
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue