Skip to content

Add spec_lint and warnings-as-errors CI gates - #1

Merged
lukaszsamson merged 4 commits into
mainfrom
spec-lint-gate
Oct 19, 2026
Merged

lukaszsamson merged 4 commits into
mainfrom
spec-lint-gate

Conversation

@lukaszsamson

@lukaszsamson lukaszsamson commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

Adds a spec_lint job (Elixir 1.20.4 / OTP 29, errors only) running mix spec_lint.
The dep is declared only when Version.match?(System.version(), ">= 1.18.0"), so the Elixir 1.14-1.17 test matrix jobs are unaffected (spec_lint requires Elixir ~> 1.18).
Local run: 244 spec clauses checked, 0 errors, 0 warnings. No fixes or ignores needed.

Also: minimum raised to Elixir 1.16 / OTP 26 (1.14/1.15 matrix entries dropped, Dialyzer job moved to 1.16), mix compile --warnings-as-errors added to the spec_lint job (1.20.4/OTP 29), with the ^length pin fix in GenDAP.Communication.TCP.read_body/3. Existing Dialyzer job passes locally on 1.20.4/OTP 29.

Also: removed the commitlint workflow (lint-commit.yaml).

@lukaszsamson lukaszsamson changed the title Add spec_lint CI gate Add spec_lint and warnings-as-errors CI gates Oct 19, 2026
@lukaszsamson
lukaszsamson merged commit 7b07e84 into main Oct 19, 2026
6 checks passed
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