Skip to content

Fix Elixir 1.20 deprecation and refresh CI matrix#48

Open
k-asm wants to merge 3 commits into
masterfrom
fix/deprecate-xref-exclude
Open

Fix Elixir 1.20 deprecation and refresh CI matrix#48
k-asm wants to merge 3 commits into
masterfrom
fix/deprecate-xref-exclude

Conversation

@k-asm
Copy link
Copy Markdown
Collaborator

@k-asm k-asm commented May 24, 2026

Changes

  • Replace deprecated xref: [exclude: ...] with elixirc_options: [no_warn_undefined: ...] (deprecated in Elixir 1.20).
  • Update CI runner from removed ubuntu-20.04 to ubuntu-24.04.
  • Add Elixir 1.19 to the test matrix and move the lint target to it.
  • Drop Elixir 1.12, 1.13, 1.14 (no longer in upstream security support).
  • Bump minimum supported Elixir version from 1.2 to 1.15 to match CI.

ref: https://github.com/elixir-lang/elixir/blob/v1.20/CHANGELOG.md

Copilot AI review requested due to automatic review settings May 24, 2026 00:28
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the Mix project configuration to avoid the Elixir 1.20 deprecation of xref: [exclude: ...] by using the newer compiler option for undefined module warnings.

Changes:

  • Replaces xref: [exclude: [Ecto.Changeset]] with elixirc_options: [no_warn_undefined: [Ecto.Changeset]].

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

k-asm added 2 commits May 24, 2026 09:44
- ubuntu-20.04 runner image was removed from GitHub Actions in April 2025
- Add Elixir 1.19 (latest stable) and move lint target to 1.19 + OTP 28
- Drop Elixir 1.12, 1.13, 1.14 (no longer in security support upstream)
- Drop OTP < 24.3 since they are not provided on ubuntu-22.04/24.04
Align the supported Elixir version with what the CI matrix actually tests.
Elixir < 1.15 is no longer in security support upstream and is not
exercised by CI.
@k-asm k-asm changed the title Fix deprecation warning for xref exclude in Elixir 1.20 Fix Elixir 1.20 deprecation and refresh CI matrix May 24, 2026
@k-asm
Copy link
Copy Markdown
Collaborator Author

k-asm commented May 24, 2026

I opened #49 as a follow-up draft PR on top of this branch.
It only touches CI supply chain settings, and I’ll rebase it onto master after this PR is merged.

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.

2 participants