Skip to content

Commit cbbe8c8

Browse files
fahchenclaude
andauthored
chore: upgrade toolchain to latest Elixir/Erlang/Rust (#12)
## Summary - Bump `.tool-versions` to **Elixir 1.20.0 / OTP 29.0 / Rust 1.93.1**. - Update CI `matrix-test` to the three latest Elixir/OTP pairs (1.20.0/29.0, 1.19.5/28.4, 1.18.4/27.3.4.4); drop EOL 1.16/1.17 & OTP 26. - Remove an unused `require Logger` newly flagged by Elixir 1.20's unused-require warning. ## Why The `v0.7.0` hex publish failed: the Publish job's precompiled-NIF download from the GitHub release CDN hit an OTP `:ssl` `key_usage_mismatch` fatal alert. This is the OTP 27.1.3–27.2 regression ([erlang/otp#9208](erlang/otp#9208), fixed by [#9286](erlang/otp#9286)). The repo was pinned to OTP 27.2 — squarely in the broken window. Moving to OTP 29 resolves it. ## Test plan - [x] `mix compile --warnings-as-errors` clean on Elixir 1.20.0 / OTP 29.0 - [x] `mix test` → 142 passed, 1 skipped on Elixir 1.20.0 / OTP 29.0 - [ ] CI matrix green across all three pairs 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
1 parent b1ff632 commit cbbe8c8

3 files changed

Lines changed: 9 additions & 13 deletions

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -87,15 +87,13 @@ jobs:
8787
fail-fast: false
8888
matrix:
8989
include:
90-
- elixir: "1.18.3"
91-
otp: "27.2"
90+
- elixir: "1.20.0"
91+
otp: "29.0"
9292
warnings_as_errors: true
93-
- elixir: "1.17.3"
94-
otp: "27.2"
95-
- elixir: "1.17.3"
96-
otp: "26.2"
97-
- elixir: "1.16.3"
98-
otp: "26.2"
93+
- elixir: "1.19.5"
94+
otp: "28.4"
95+
- elixir: "1.18.4"
96+
otp: "27.3.4.4"
9997
steps:
10098
- uses: actions/checkout@v5
10199

.tool-versions

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
elixir 1.18.3
2-
erlang 27.2
3-
rust 1.88.0
1+
elixir 1.20.0-otp-29
2+
erlang 29.0
3+
rust 1.93.1

lib/dprint_markdown_formatter.ex

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,6 @@ defmodule DprintMarkdownFormatter do
9292

9393
@behaviour Mix.Tasks.Format
9494

95-
require Logger
96-
9795
alias DprintMarkdownFormatter.AstProcessor
9896
alias DprintMarkdownFormatter.Config
9997
alias DprintMarkdownFormatter.Error

0 commit comments

Comments
 (0)