mirror of
https://github.com/BlueMap-Minecraft/BlueMap.git
synced 2024-11-22 02:26:00 +01:00
Do spotless checks on each github action build
This commit is contained in:
parent
924734b72d
commit
f79254115e
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@ -31,7 +31,7 @@ jobs:
|
||||
restore-keys: |
|
||||
${{ runner.os }}-bluemap-
|
||||
- name: Build with Gradle
|
||||
run: ./gradlew clean test build
|
||||
run: ./gradlew clean spotlessCheck test build
|
||||
- uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: artifacts
|
||||
|
@ -28,6 +28,12 @@ tasks.register("spotlessApply") {
|
||||
}
|
||||
}
|
||||
|
||||
tasks.register("spotlessCheck") {
|
||||
gradle.includedBuilds.forEach {
|
||||
dependsOn(it.task(":spotlessCheck"))
|
||||
}
|
||||
}
|
||||
|
||||
tasks.register("publish") {
|
||||
gradle.includedBuilds.forEach {
|
||||
dependsOn(it.task(":publish"))
|
||||
|
Loading…
Reference in New Issue
Block a user