Skip to content

Commit 1214249

Browse files
committed
GitHub CI: Build with --warning-as-error to ensure there are no non-deprecation warnings
1 parent 404a086 commit 1214249

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ jobs:
3030
- run: jt install eclipse
3131
- name: Install RuboCop
3232
run: gem install --no-document rubocop:0.66.0
33+
- name: Build with --warning-as-error to ensure there are no non-deprecation warnings
34+
# See comment in ci.jsonnet about --jdt
35+
run: jt build -- --jdt builtin --warning-as-error --force-deprecation-as-warning
3336
- run: jt lint
3437

3538
build:

0 commit comments

Comments
 (0)