aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorEwout ter Hoeven <E.M.terHoeven@student.tudelft.nl>2021-02-13 11:01:02 +0100
committerGitHub <noreply@github.com>2021-02-13 11:01:02 +0100
commit3e0b97b68b09488ec3ee5d5059f990b2a4e2880e (patch)
treea11da88b28ab496aabf97246f6dd07c52085d07e /.github/workflows
parentc1ec16953fe251941b7d077b8b5c966806db3357 (diff)
downloadtrackermap-server-3e0b97b68b09488ec3ee5d5059f990b2a4e2880e.tar.gz
trackermap-server-3e0b97b68b09488ec3ee5d5059f990b2a4e2880e.tar.bz2
trackermap-server-3e0b97b68b09488ec3ee5d5059f990b2a4e2880e.zip
CI: Only pass if there are no Gradle warnings
Adds the CLI option --warning-mode=fail to the Gradle build job. This ensures the build only passes if no warnings are cast. See https://docs.gradle.org/current/userguide/command_line_interface.html#sec:command_line_warnings
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/gradle.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml
index 86f32e37b..661b9b8ce 100644
--- a/.github/workflows/gradle.yml
+++ b/.github/workflows/gradle.yml
@@ -18,4 +18,4 @@ jobs:
with:
java-version: 1.8
- name: Build with Gradle
- run: ./gradlew build
+ run: ./gradlew build --warning-mode=fail