Skip to content

ci: quiet the build warnings (CS3021, Node 20 actions) - #49

Merged
Trosper3 merged 1 commit into
ReduxISU:mainfrom
Trosper3:chore/ci-warnings
Oct 28, 2026
Merged

Trosper3 merged 1 commit into
ReduxISU:mainfrom
Trosper3:chore/ci-warnings

Conversation

@Trosper3

@Trosper3 Trosper3 commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

Removes the warnings every CI run shows, including on PR #47 and on main.

Features

  • The four CS3021 warnings ("does not need a CLSCompliant attribute") from the ANTLR-generated parser files are silenced by an .editorconfig rule scoped to those four files. Handwritten code is still checked, and regenerating the parser won't bring them back.
  • actions/checkout v4 → v7 and actions/setup-dotnet v4 → v6 in ci.yml and publish.yml. Both run on Node 24, which removes the Node 20 deprecation warning. Their breaking changes don't apply here: checkout v7 only blocks fork PRs under pull_request_target and workflow_run.

Local: dotnet build 0 warnings (was 8), tests 34/34.

The ANTLR-generated grammar files mark each class [CLSCompliant(false)] and the
assembly declares no CLS compliance, so every build warned CS3021 four times.
An .editorconfig rule silences it for those four files only. actions/checkout
and actions/setup-dotnet move to their current majors, which run on Node 24.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@Trosper3
Trosper3 merged commit 85aae60 into ReduxISU:main Oct 28, 2026
2 checks passed
@Trosper3
Trosper3 deleted the chore/ci-warnings branch October 28, 2026 02:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant