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 8e49286 commit b5ae298Copy full SHA for b5ae298
.github/workflows/ci.yml
@@ -30,13 +30,20 @@ jobs:
30
deterministic: true
31
- otp_version: "27.1"
32
otp_latest: true
33
+ erlc_opts: "warnings_as_errors"
34
- otp_version: "27.0"
35
36
- otp_version: "26.0"
37
- otp_version: master
38
development: true
39
- otp_version: maint
40
41
runs-on: ubuntu-24.04
42
+ # Earlier Erlang/OTP versions ignored compiler directives
43
+ # when using warnings_as_errors. So we only set ERLC_OPTS
44
+ # from Erlang/OTP 27+.
45
+ env:
46
+ ERLC_OPTS: ${{ matrix.erlc_opts || '' }}
47
steps:
48
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
49
with:
0 commit comments