Change from gradle-build-action to setup-gradle as recommended

This commit is contained in:
Wolf-Martell Montwé 2024-01-30 10:39:00 +01:00
parent 1aa61cbc21
commit ebdc720825
No known key found for this signature in database
GPG key ID: 6D45B21512ACBF72
4 changed files with 10 additions and 4 deletions

View file

@ -34,7 +34,8 @@ jobs:
distribution: temurin
java-version: 17
- uses: gradle/gradle-build-action@v3
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
- name: Quality - Spotless
run: ./gradlew spotlessCheck

View file

@ -23,7 +23,8 @@ jobs:
distribution: temurin
java-version: 17
- uses: gradle/gradle-build-action@v3
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
- uses: github/codeql-action/init@v3
with:

View file

@ -23,7 +23,10 @@ jobs:
with:
distribution: temurin
java-version: 17
- uses: gradle/gradle-build-action@v3
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
with:
gradle-home-cache-cleanup: true
- run: ./gradlew assembleDebug

View file

@ -20,7 +20,8 @@ jobs:
distribution: temurin
java-version: 17
- uses: gradle/gradle-build-action@v3
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
- name: Quality - Spotless Markdown Check
run: ./gradlew spotlessMarkdownCheck