Skip to content

Commit 64418aa

Browse files
bougymanclaude
andcommitted
ci: disable setup-beam's problem matchers to quiet dep-warning annotations
setup-beam's problem matchers were promoting compiler warnings from third-party deps (postgrex/rewrite's deprecated `xref: [exclude: ...]`, yamerl's deprecated `catch ...` syntax) into GitHub Actions annotations on every build. All three are already at their latest published Hex versions, so there's no fix to bump to - just noise from code we don't own. disable_problem_matchers: true silences the annotation promotion while leaving the actual compiler output in the raw logs. The remaining Node.js 20 deprecation annotation (mlugg/setup-zig@v2.2.1) is not fixable here either - we're already on that action's latest release, and its action.yml still declares `using: 'node20'`; that's upstream-only until they bump it. Closes #9. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
1 parent a637969 commit 64418aa

2 files changed

Lines changed: 18 additions & 0 deletions

File tree

.github/workflows/burrito-release.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,12 @@ jobs:
3434
with:
3535
otp-version: "29.0.3"
3636
elixir-version: "1.20.3"
37+
# Without this, setup-beam's problem matchers promote every
38+
# compiler warning from deps (e.g. postgrex/rewrite's deprecated
39+
# `xref: [exclude: ...]`, yamerl's deprecated `catch ...` syntax -
40+
# both already at their latest published Hex versions, so not
41+
# fixable from here) into noisy GH Actions annotations. See #9.
42+
disable_problem_matchers: true
3743
-
3844
# Version pinned to what Burrito 1.6.0 actually requires - its own
3945
# README says 0.15.2, but the version check enforces 0.16.0. See
@@ -67,6 +73,12 @@ jobs:
6773
with:
6874
otp-version: "29.0.3"
6975
elixir-version: "1.20.3"
76+
# Without this, setup-beam's problem matchers promote every
77+
# compiler warning from deps (e.g. postgrex/rewrite's deprecated
78+
# `xref: [exclude: ...]`, yamerl's deprecated `catch ...` syntax -
79+
# both already at their latest published Hex versions, so not
80+
# fixable from here) into noisy GH Actions annotations. See #9.
81+
disable_problem_matchers: true
7082
-
7183
# Same Burrito build as the `burrito` job above, so it needs the same
7284
# pinned Zig (see that job's comment) - missing here would fail this

.github/workflows/ci.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,12 @@ jobs:
2121
with:
2222
otp-version: "29.0.3"
2323
elixir-version: "1.20.3"
24+
# Without this, setup-beam's problem matchers promote every
25+
# compiler warning from deps (e.g. postgrex/rewrite's deprecated
26+
# `xref: [exclude: ...]`, yamerl's deprecated `catch ...` syntax -
27+
# both already at their latest published Hex versions, so not
28+
# fixable from here) into noisy GH Actions annotations. See #9.
29+
disable_problem_matchers: true
2430
-
2531
name: Cache deps/build
2632
uses: actions/cache@v6

0 commit comments

Comments
 (0)