Skip to content

Commit 526d00f

Browse files
authored
Always set ERLC_OPTS=warnings_as_errors in CI (#15174)
1 parent 5120740 commit 526d00f

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,23 +30,17 @@ jobs:
3030
- otp_version: "28.1"
3131
deterministic: true
3232
- otp_version: "28.1"
33-
erlc_opts: "warnings_as_errors"
3433
docs: true
3534
coverage: true
3635
- otp_version: "27.3"
37-
erlc_opts: "warnings_as_errors"
3836
- otp_version: "27.0"
39-
erlc_opts: "warnings_as_errors"
4037
- otp_version: master
4138
development: true
4239
- otp_version: maint
4340
development: true
4441

45-
# Earlier Erlang/OTP versions ignored compiler directives
46-
# when using warnings_as_errors. So we only set ERLC_OPTS
47-
# from Erlang/OTP 27+.
4842
env:
49-
ERLC_OPTS: ${{ matrix.erlc_opts || '' }}
43+
ERLC_OPTS: "warnings_as_errors"
5044
steps:
5145
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
5246
with:

0 commit comments

Comments
 (0)