From 632bcd8fe09cdb08cd816bd693c168d0be927642 Mon Sep 17 00:00:00 2001 From: Andrea Leopardi Date: Sun, 22 Dec 2024 18:28:57 +0100 Subject: [PATCH] Update Elixir/Erlang versions in CI (#205) --- .github/workflows/main.yml | 6 +++--- lib/ex_unit_properties.ex | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d32d5cb..3025b5f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -14,9 +14,9 @@ jobs: fail-fast: false matrix: include: - - otp: "27.0" - elixir: "1.17" - os: ubuntu-22.04 + - otp: "27.2" + elixir: "1.18" + os: ubuntu-latest lint: true coverage: true diff --git a/lib/ex_unit_properties.ex b/lib/ex_unit_properties.ex index 5a4b6ac..0fb98c9 100644 --- a/lib/ex_unit_properties.ex +++ b/lib/ex_unit_properties.ex @@ -360,7 +360,7 @@ defmodule ExUnitProperties do defp compile_clauses([clause | rest], body, parent_line) do line = get_clause_line(clause, parent_line) - quote line: line do + quote generated: true, line: line do cond do unquote(clause) -> unquote(compile_clauses(rest, body, line))