We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2a0f53 commit f256584Copy full SHA for f256584
.github/workflows/ci.yml
@@ -11,7 +11,6 @@ on:
11
env:
12
ELIXIR_ASSERT_TIMEOUT: 2000
13
ELIXIRC_OPTS: "--warnings-as-errors"
14
- ERLC_OPTS: "warnings_as_errors"
15
LANG: C.UTF-8
16
17
permissions:
@@ -26,6 +25,7 @@ jobs:
26
25
include:
27
- otp_version: "27.0"
28
otp_latest: true
+ erlc_opts: "warnings_as_errors"
29
- otp_version: "26.0"
30
- otp_version: "25.3"
31
- otp_version: "25.0"
@@ -34,6 +34,11 @@ jobs:
34
- otp_version: maint
35
development: true
36
runs-on: ubuntu-20.04
37
+ # Earlier Erlang/OTP versions ignored compiler directives
38
+ # when using warnings_as_errors. So we only set ERLC_OPTS
39
+ # from Erlang/OTP 27+.
40
+ env:
41
+ ERLC_OPTS: ${{ matrix.erlc_opts || '' }}
42
steps:
43
- uses: actions/checkout@v4
44
with:
0 commit comments