Add CI: OTP/Elixir test matrix#1
Merged
Merged
Conversation
- ci.yaml: test matrix over OTP 27/28/29 × Elixir 1.18/1.19/1.20 with incompatible pairs excluded (6 jobs), fail-fast disabled; runs compile/format/test with --warnings-as-errors via setup-beam. - osv-scanner.yaml: scheduled + PR dependency vulnerability scanning, uploading SARIF to the Security tab. - All actions pinned to full commit SHAs with version comments: checkout v7.0.0, setup-beam v1.24.1, osv-scanner-action v2.3.8, codeql-action upload-sarif v4.36.2. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
mix format --check-formatted failed because no .formatter.exs existed — and .gitignore was actively ignoring it. Track the file with the standard config/lib/test inputs, stop ignoring it, and apply the formatting it surfaces in sender_test.exs (multi-line anonymous functions). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
config.exs imports "#{config_env()}.exs" unconditionally, but no dev.exs
existed, so every mix task in the default dev env crashed reading a
missing file. Add a minimal dev config that defaults :send_to_http to
false, so local development uses the no-op adapter instead of hitting
Segment.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
rangen
approved these changes
Jun 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds two GitHub Actions workflows, with every action pinned to a full commit SHA (with version comment) for supply-chain safety.
ci.yaml— test matrixfail-fast: falseso one combo failing doesn't cancel the rest.mix compile,mix format --check-formatted, andmix test, all with--warnings-as-errors.Elixir x / OTP yfor legible check status.Effective matrix:
osv-scanner.yaml— dependency scanningPinned action versions
actions/checkouterlef/setup-beamgoogle/osv-scanner-actiongithub/codeql-action/upload-sarifNotes
actions/checkoutis at v7 (latest major); behavior-neutral for a plain checkout onubuntu-latest.--warnings-as-errorson the newest Elixir (1.20) may surface deprecation warnings older versions don't — that's an intentional signal.