From fae4c15f88fdec1585a537928fc7dbee63e36091 Mon Sep 17 00:00:00 2001 From: Kian-Meng Ang Date: Thu, 20 Mar 2025 19:14:56 +0800 Subject: [PATCH] Support Elixir 1.18 in CI List of changes: - bump max supported Elixir version to 1.18 - code format - specify versions as strings, not numbers --- .github/workflows/ci.yml | 8 ++++---- test/nimble_csv_test.exs | 5 ++++- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e7d53ca..a3e84d7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,11 +16,11 @@ jobs: matrix: include: - pair: - elixir: 1.15.x - otp: 24.x + elixir: "1.15" + otp: "24" - pair: - elixir: 1.17.x - otp: 27.x + elixir: "1.18" + otp: "27" lint: lint steps: - uses: actions/checkout@v4 diff --git a/test/nimble_csv_test.exs b/test/nimble_csv_test.exs index 957b875..f6485ff 100644 --- a/test/nimble_csv_test.exs +++ b/test/nimble_csv_test.exs @@ -393,7 +393,10 @@ defmodule NimbleCSVTest do """ assert IO.iodata_to_binary( - CSVWithUnknownSeparator.dump_to_iodata([["name", "age"], ["john \"nick\" doe", 27]]) + CSVWithUnknownSeparator.dump_to_iodata([ + ["name", "age"], + ["john \"nick\" doe", 27] + ]) ) == """ name,age "john ""nick"" doe",27