diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 34db570..5a4ad7b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,4 +1,4 @@ -# Created with GitHubActions version 0.3.17 +# Created with GitHubActions version 0.4.0 name: CI env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -13,7 +13,7 @@ jobs: matrix: include: - elixir: '1.19.5' - otp: '28.3' + otp: '28.4' coverage: true lint: true - elixir: '1.19.5' @@ -28,10 +28,6 @@ jobs: otp: '24.3' - elixir: '1.15.8' otp: '24.3' - - elixir: '1.14.5' - otp: '24.3' - - elixir: '1.13.4' - otp: '24.3' steps: - name: Checkout uses: actions/checkout@v4 diff --git a/CHANGELOG.md b/CHANGELOG.md index cea0e02..20ac5be 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## 0.4.0 2026/03/04 + +- Add Erlang version `28.4` to config +- Require Elixir version 1.15 + ## 0.3.17 2026/01/09 - Add Elixir version `1.19.5` to config diff --git a/lib/git_hub_actions/project.ex b/lib/git_hub_actions/project.ex index e3e832a..8c2671b 100644 --- a/lib/git_hub_actions/project.ex +++ b/lib/git_hub_actions/project.ex @@ -15,7 +15,7 @@ defmodule GitHubActions.Project do ## Examples iex> Project.elixir() - "~> 1.13" + "~> 1.15" """ @spec elixir :: String.t() def elixir do diff --git a/lib/git_hub_actions/versions.ex b/lib/git_hub_actions/versions.ex index 338dd79..3ec647c 100644 --- a/lib/git_hub_actions/versions.ex +++ b/lib/git_hub_actions/versions.ex @@ -63,7 +63,7 @@ defmodule GitHubActions.Versions do %GitHubActions.Version{major: 1, minor: 19, patch: 5} iex> Versions.latest(:otp) - %GitHubActions.Version{major: 28, minor: 3} + %GitHubActions.Version{major: 28, minor: 4} """ @spec latest(versions() | key()) :: Version.t() def latest(versions_or_key) when is_list(versions_or_key) do @@ -155,7 +155,7 @@ defmodule GitHubActions.Versions do "21.0", "21.1", "21.2", "21.3", "22.0", "22.1", "22.2", "22.3", "23.0", "23.1", "23.2", "23.3", "24.0", "24.1", "24.2", "24.3", "25.0", "25.1", "25.2", "25.3", "26.0", "26.1", "26.2", "27.0", "27.1", "27.2", "27.3", - "28.0", "28.1", "28.2", "28.3" + "28.0", "28.1", "28.2", "28.3", "28.4" ] """ @spec latest_minor(versions_list() | key()) :: [Version.t()] @@ -242,7 +242,7 @@ defmodule GitHubActions.Versions do ["1.19.5"] iex> Versions.latest_major(:otp) |> Enum.map(&to_string/1) - ["17.5", "18.3", "19.3", "20.3", "21.3", "22.3", "23.3", "24.3", "25.3", "26.2", "27.3", "28.3"] + ["17.5", "18.3", "19.3", "20.3", "21.3", "22.3", "23.3", "24.3", "25.3", "26.2", "27.3", "28.4"] """ @spec latest_major(versions_list() | key()) :: [Version.t()] def latest_major(versions_or_key) when is_list(versions_or_key) do @@ -738,7 +738,7 @@ defmodule GitHubActions.Versions do iex> Enum.map(matrix[:elixir], &to_string/1) ["1.12.3", "1.13.4", "1.14.5", "1.15.8", "1.16.3", "1.17.3", "1.18.4", "1.19.5"] iex> Enum.map(matrix[:otp], &to_string/1) - ["22.3", "23.3", "24.3", "25.3", "26.2", "27.3", "28.3"] + ["22.3", "23.3", "24.3", "25.3", "26.2", "27.3", "28.4"] iex> for [{k1, v1}, {k2, v2}] <- matrix[:exclude] do ...> [{k1, to_string(v1)}, {k2, to_string(v2)}] ...> end @@ -746,25 +746,25 @@ defmodule GitHubActions.Versions do [elixir: "1.12.3", otp: "25.3"], [elixir: "1.12.3", otp: "26.2"], [elixir: "1.12.3", otp: "27.3"], - [elixir: "1.12.3", otp: "28.3"], + [elixir: "1.12.3", otp: "28.4"], [elixir: "1.13.4", otp: "26.2"], [elixir: "1.13.4", otp: "27.3"], - [elixir: "1.13.4", otp: "28.3"], + [elixir: "1.13.4", otp: "28.4"], [elixir: "1.14.5", otp: "22.3"], [elixir: "1.14.5", otp: "27.3"], - [elixir: "1.14.5", otp: "28.3"], + [elixir: "1.14.5", otp: "28.4"], [elixir: "1.15.8", otp: "22.3"], [elixir: "1.15.8", otp: "23.3"], [elixir: "1.15.8", otp: "27.3"], - [elixir: "1.15.8", otp: "28.3"], + [elixir: "1.15.8", otp: "28.4"], [elixir: "1.16.3", otp: "22.3"], [elixir: "1.16.3", otp: "23.3"], [elixir: "1.16.3", otp: "27.3"], - [elixir: "1.16.3", otp: "28.3"], + [elixir: "1.16.3", otp: "28.4"], [elixir: "1.17.3", otp: "22.3"], [elixir: "1.17.3", otp: "23.3"], [elixir: "1.17.3", otp: "24.3"], - [elixir: "1.17.3", otp: "28.3"], + [elixir: "1.17.3", otp: "28.4"], [elixir: "1.18.4", otp: "22.3"], [elixir: "1.18.4", otp: "23.3"], [elixir: "1.18.4", otp: "24.3"], @@ -795,10 +795,10 @@ defmodule GitHubActions.Versions do [elixir: "1.18.4", otp: "25.3"], [elixir: "1.18.4", otp: "26.2"], [elixir: "1.18.4", otp: "27.3"], - [elixir: "1.18.4", otp: "28.3"], + [elixir: "1.18.4", otp: "28.4"], [elixir: "1.19.0", otp: "26.2"], [elixir: "1.19.0", otp: "27.3"], - [elixir: "1.19.0", otp: "28.3"] + [elixir: "1.19.0", otp: "28.4"] ] iex> Versions.matrix([], elixir: ">= 1.9.0", otp: ">= 22.0.0") diff --git a/mix.exs b/mix.exs index 1879bb2..3c9fa84 100644 --- a/mix.exs +++ b/mix.exs @@ -2,13 +2,13 @@ defmodule GitHubActions.MixProject do use Mix.Project @source_url "https://github.com/hrzndhrn/git_hub_actions" - @version "0.3.17" + @version "0.4.0" def project do [ app: :git_hub_actions, version: @version, - elixir: "~> 1.13", + elixir: "~> 1.15", name: "GitHubActions", description: "A little tool to write GitHub actions in Elixir", source_url: @source_url, diff --git a/mix.lock b/mix.lock index 6358b6c..df4494e 100644 --- a/mix.lock +++ b/mix.lock @@ -1,25 +1,25 @@ %{ "bunt": {:hex, :bunt, "1.0.0", "081c2c665f086849e6d57900292b3a161727ab40431219529f13c4ddcf3e7a44", [:mix], [], "hexpm", "dc5f86aa08a5f6fa6b8096f0735c4e76d54ae5c9fa2c143e5a1fc7c1cd9bb6b5"}, - "credo": {:hex, :credo, "1.7.15", "283da72eeb2fd3ccf7248f4941a0527efb97afa224bcdef30b4b580bc8258e1c", [:mix], [{:bunt, "~> 0.2.1 or ~> 1.0", [hex: :bunt, repo: "hexpm", optional: false]}, {:file_system, "~> 0.2 or ~> 1.0", [hex: :file_system, repo: "hexpm", optional: false]}, {:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: false]}], "hexpm", "291e8645ea3fea7481829f1e1eb0881b8395db212821338e577a90bf225c5607"}, + "credo": {:hex, :credo, "1.7.17", "f92b6aa5b26301eaa5a35e4d48ebf5aa1e7094ac00ae38f87086c562caf8a22f", [:mix], [{:bunt, "~> 0.2.1 or ~> 1.0", [hex: :bunt, repo: "hexpm", optional: false]}, {:file_system, "~> 0.2 or ~> 1.0", [hex: :file_system, repo: "hexpm", optional: false]}, {:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: false]}], "hexpm", "1eb5645c835f0b6c9b5410f94b5a185057bcf6d62a9c2b476da971cde8749645"}, "dialyxir": {:hex, :dialyxir, "1.4.7", "dda948fcee52962e4b6c5b4b16b2d8fa7d50d8645bbae8b8685c3f9ecb7f5f4d", [:mix], [{:erlex, ">= 0.2.8", [hex: :erlex, repo: "hexpm", optional: false]}], "hexpm", "b34527202e6eb8cee198efec110996c25c5898f43a4094df157f8d28f27d9efe"}, "earmark_parser": {:hex, :earmark_parser, "1.4.44", "f20830dd6b5c77afe2b063777ddbbff09f9759396500cdbe7523efd58d7a339c", [:mix], [], "hexpm", "4778ac752b4701a5599215f7030989c989ffdc4f6df457c5f36938cc2d2a2750"}, "erlex": {:hex, :erlex, "0.2.8", "cd8116f20f3c0afe376d1e8d1f0ae2452337729f68be016ea544a72f767d9c12", [:mix], [], "hexpm", "9d66ff9fedf69e49dc3fd12831e12a8a37b76f8651dd21cd45fcf5561a8a7590"}, "escape": {:hex, :escape, "0.4.1", "065164d0d18a70e75092fc71124978e7b50ac99de69748739e48609825ab1c9e", [:mix], [], "hexpm", "867d641d66ffb1afbb1cdf872eff3c21b1af90fec3d21916b1b5eda51e244158"}, - "ex_doc": {:hex, :ex_doc, "0.39.3", "519c6bc7e84a2918b737aec7ef48b96aa4698342927d080437f61395d361dcee", [:mix], [{:earmark_parser, "~> 1.4.44", [hex: :earmark_parser, repo: "hexpm", optional: false]}, {:makeup_c, ">= 0.1.0", [hex: :makeup_c, repo: "hexpm", optional: true]}, {:makeup_elixir, "~> 0.14 or ~> 1.0", [hex: :makeup_elixir, repo: "hexpm", optional: false]}, {:makeup_erlang, "~> 0.1 or ~> 1.0", [hex: :makeup_erlang, repo: "hexpm", optional: false]}, {:makeup_html, ">= 0.1.0", [hex: :makeup_html, repo: "hexpm", optional: true]}], "hexpm", "0590955cf7ad3b625780ee1c1ea627c28a78948c6c0a9b0322bd976a079996e1"}, + "ex_doc": {:hex, :ex_doc, "0.40.1", "67542e4b6dde74811cfd580e2c0149b78010fd13001fda7cfeb2b2c2ffb1344d", [:mix], [{:earmark_parser, "~> 1.4.44", [hex: :earmark_parser, repo: "hexpm", optional: false]}, {:makeup_c, ">= 0.1.0", [hex: :makeup_c, repo: "hexpm", optional: true]}, {:makeup_elixir, "~> 0.14 or ~> 1.0", [hex: :makeup_elixir, repo: "hexpm", optional: false]}, {:makeup_erlang, "~> 0.1 or ~> 1.0", [hex: :makeup_erlang, repo: "hexpm", optional: false]}, {:makeup_html, ">= 0.1.0", [hex: :makeup_html, repo: "hexpm", optional: true]}], "hexpm", "bcef0e2d360d93ac19f01a85d58f91752d930c0a30e2681145feea6bd3516e00"}, "excoveralls": {:hex, :excoveralls, "0.18.5", "e229d0a65982613332ec30f07940038fe451a2e5b29bce2a5022165f0c9b157e", [:mix], [{:castore, "~> 1.0", [hex: :castore, repo: "hexpm", optional: true]}, {:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: false]}], "hexpm", "523fe8a15603f86d64852aab2abe8ddbd78e68579c8525ae765facc5eae01562"}, "file_system": {:hex, :file_system, "1.1.1", "31864f4685b0148f25bd3fbef2b1228457c0c89024ad67f7a81a3ffbc0bbad3a", [:mix], [], "hexpm", "7a15ff97dfe526aeefb090a7a9d3d03aa907e100e262a0f8f7746b78f8f87a5d"}, "glob_ex": {:hex, :glob_ex, "0.1.11", "cb50d3f1ef53f6ca04d6252c7fde09fd7a1cf63387714fe96f340a1349e62c93", [:mix], [], "hexpm", "342729363056e3145e61766b416769984c329e4378f1d558b63e341020525de4"}, "jason": {:hex, :jason, "1.4.4", "b9226785a9aa77b6857ca22832cffa5d5011a667207eb2a0ad56adb5db443b8a", [:mix], [{:decimal, "~> 1.0 or ~> 2.0", [hex: :decimal, repo: "hexpm", optional: true]}], "hexpm", "c5eb0cab91f094599f94d55bc63409236a8ec69a21a67814529e8d5f6cc90b3b"}, "makeup": {:hex, :makeup, "1.2.1", "e90ac1c65589ef354378def3ba19d401e739ee7ee06fb47f94c687016e3713d1", [:mix], [{:nimble_parsec, "~> 1.4", [hex: :nimble_parsec, repo: "hexpm", optional: false]}], "hexpm", "d36484867b0bae0fea568d10131197a4c2e47056a6fbe84922bf6ba71c8d17ce"}, "makeup_elixir": {:hex, :makeup_elixir, "1.0.1", "e928a4f984e795e41e3abd27bfc09f51db16ab8ba1aebdba2b3a575437efafc2", [:mix], [{:makeup, "~> 1.0", [hex: :makeup, repo: "hexpm", optional: false]}, {:nimble_parsec, "~> 1.2.3 or ~> 1.3", [hex: :nimble_parsec, repo: "hexpm", optional: false]}], "hexpm", "7284900d412a3e5cfd97fdaed4f5ed389b8f2b4cb49efc0eb3bd10e2febf9507"}, - "makeup_erlang": {:hex, :makeup_erlang, "1.0.2", "03e1804074b3aa64d5fad7aa64601ed0fb395337b982d9bcf04029d68d51b6a7", [:mix], [{:makeup, "~> 1.0", [hex: :makeup, repo: "hexpm", optional: false]}], "hexpm", "af33ff7ef368d5893e4a267933e7744e46ce3cf1f61e2dccf53a111ed3aa3727"}, + "makeup_erlang": {:hex, :makeup_erlang, "1.0.3", "4252d5d4098da7415c390e847c814bad3764c94a814a0b4245176215615e1035", [:mix], [{:makeup, "~> 1.0", [hex: :makeup, repo: "hexpm", optional: false]}], "hexpm", "953297c02582a33411ac6208f2c6e55f0e870df7f80da724ed613f10e6706afd"}, "meck": {:hex, :meck, "0.9.2", "85ccbab053f1db86c7ca240e9fc718170ee5bda03810a6292b5306bf31bae5f5", [:rebar3], [], "hexpm", "81344f561357dc40a8344afa53767c32669153355b626ea9fcbc8da6b3045826"}, "mock": {:hex, :mock, "0.3.9", "10e44ad1f5962480c5c9b9fa779c6c63de9bd31997c8e04a853ec990a9d841af", [:mix], [{:meck, "~> 0.9.2", [hex: :meck, repo: "hexpm", optional: false]}], "hexpm", "9e1b244c4ca2551bb17bb8415eed89e40ee1308e0fbaed0a4fdfe3ec8a4adbd3"}, "nimble_parsec": {:hex, :nimble_parsec, "1.4.2", "8efba0122db06df95bfaa78f791344a89352ba04baedd3849593bfce4d0dc1c6", [:mix], [], "hexpm", "4b21398942dda052b403bbe1da991ccd03a053668d147d53fb8c4e0efe09c973"}, "prove": {:hex, :prove, "0.1.7", "bdde734bcb438dddbef25084467125c82c551463d2666ba413d7e034afe44e12", [:mix], [], "hexpm", "59cc22688d3f5c503d4c3fc122cc3f95eca44abc5ac586bd975220bc18387cc2"}, "recode": {:hex, :recode, "0.8.0", "4e324f608fbac8a01794902703ba04fa1aaab25217108410f7a0cdcecdb1027c", [:mix], [{:escape, "~> 0.1", [hex: :escape, repo: "hexpm", optional: false]}, {:glob_ex, "~> 0.1", [hex: :glob_ex, repo: "hexpm", optional: false]}, {:rewrite, "~> 1.2", [hex: :rewrite, repo: "hexpm", optional: false]}], "hexpm", "c71d24ebb5a460679d55f8e27585f83542787e238f5a317162ee8e77de74ebba"}, "rewrite": {:hex, :rewrite, "1.2.0", "80220eb14010e175b67c939397e1a8cdaa2c32db6e2e0a9d5e23e45c0414ce21", [:mix], [{:glob_ex, "~> 0.1", [hex: :glob_ex, repo: "hexpm", optional: false]}, {:sourceror, "~> 1.0", [hex: :sourceror, repo: "hexpm", optional: false]}, {:text_diff, "~> 0.1", [hex: :text_diff, repo: "hexpm", optional: false]}], "hexpm", "a1cd702bbb9d51613ab21091f04a386d750fc6f4516b81900df082d78b2d8c50"}, - "sourceror": {:hex, :sourceror, "1.10.0", "38397dedbbc286966ec48c7af13e228b171332be1ad731974438c77791945ce9", [:mix], [], "hexpm", "29dbdfc92e04569c9d8e6efdc422fc1d815f4bd0055dc7c51b8800fb75c4b3f1"}, + "sourceror": {:hex, :sourceror, "1.11.0", "df2cdaffdc323e804009ff50b50bb31e6f2d6e116d936ccf22981f592594d624", [:mix], [], "hexpm", "6e26f572bdfc21d7ad397f596b4cfbbf31d7112126fe3e902c120947073231a8"}, "text_diff": {:hex, :text_diff, "0.1.0", "1caf3175e11a53a9a139bc9339bd607c47b9e376b073d4571c031913317fecaa", [:mix], [], "hexpm", "d1ffaaecab338e49357b6daa82e435f877e0649041ace7755583a0ea3362dbd7"}, "yamerl": {:hex, :yamerl, "0.10.0", "4ff81fee2f1f6a46f1700c0d880b24d193ddb74bd14ef42cb0bcf46e81ef2f8e", [:rebar3], [], "hexpm", "346adb2963f1051dc837a2364e4acf6eb7d80097c0f53cbdc3046ec8ec4b4e6e"}, } diff --git a/priv/config.exs b/priv/config.exs index 1193572..cc3489c 100644 --- a/priv/config.exs +++ b/priv/config.exs @@ -152,7 +152,7 @@ config versions: [ ] ], [ - otp: ["28.0/3"], + otp: ["28.0/4"], elixir: [ "1.18.4", "1.19.0/5" diff --git a/test/fixtures/default.yml b/test/fixtures/default.yml index 34db570..5a4ad7b 100644 --- a/test/fixtures/default.yml +++ b/test/fixtures/default.yml @@ -1,4 +1,4 @@ -# Created with GitHubActions version 0.3.17 +# Created with GitHubActions version 0.4.0 name: CI env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -13,7 +13,7 @@ jobs: matrix: include: - elixir: '1.19.5' - otp: '28.3' + otp: '28.4' coverage: true lint: true - elixir: '1.19.5' @@ -28,10 +28,6 @@ jobs: otp: '24.3' - elixir: '1.15.8' otp: '24.3' - - elixir: '1.14.5' - otp: '24.3' - - elixir: '1.13.4' - otp: '24.3' steps: - name: Checkout uses: actions/checkout@v4 diff --git a/test/fixtures/global_default.yml b/test/fixtures/global_default.yml index 34db570..5a4ad7b 100644 --- a/test/fixtures/global_default.yml +++ b/test/fixtures/global_default.yml @@ -1,4 +1,4 @@ -# Created with GitHubActions version 0.3.17 +# Created with GitHubActions version 0.4.0 name: CI env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -13,7 +13,7 @@ jobs: matrix: include: - elixir: '1.19.5' - otp: '28.3' + otp: '28.4' coverage: true lint: true - elixir: '1.19.5' @@ -28,10 +28,6 @@ jobs: otp: '24.3' - elixir: '1.15.8' otp: '24.3' - - elixir: '1.14.5' - otp: '24.3' - - elixir: '1.13.4' - otp: '24.3' steps: - name: Checkout uses: actions/checkout@v4 diff --git a/test/fixtures/macos.yml b/test/fixtures/macos.yml index 8ae056d..6ff3d9e 100644 --- a/test/fixtures/macos.yml +++ b/test/fixtures/macos.yml @@ -16,7 +16,7 @@ jobs: uses: erlef/setup-beam@v1 with: elixir-version: '1.19.5' - otp-version: '28.3' + otp-version: '28.4' - name: Install hex run: mix local.hex --force - name: Install rebar diff --git a/test/fixtures/no_comment.yml b/test/fixtures/no_comment.yml index f746364..1c5c0e1 100644 --- a/test/fixtures/no_comment.yml +++ b/test/fixtures/no_comment.yml @@ -12,7 +12,7 @@ jobs: matrix: include: - elixir: '1.19.5' - otp: '28.3' + otp: '28.4' coverage: true lint: true - elixir: '1.19.5' @@ -27,10 +27,6 @@ jobs: otp: '24.3' - elixir: '1.15.8' otp: '24.3' - - elixir: '1.14.5' - otp: '24.3' - - elixir: '1.13.4' - otp: '24.3' steps: - name: Checkout uses: actions/checkout@v4 diff --git a/test/fixtures/opt_output.yml b/test/fixtures/opt_output.yml index 34db570..5a4ad7b 100644 --- a/test/fixtures/opt_output.yml +++ b/test/fixtures/opt_output.yml @@ -1,4 +1,4 @@ -# Created with GitHubActions version 0.3.17 +# Created with GitHubActions version 0.4.0 name: CI env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -13,7 +13,7 @@ jobs: matrix: include: - elixir: '1.19.5' - otp: '28.3' + otp: '28.4' coverage: true lint: true - elixir: '1.19.5' @@ -28,10 +28,6 @@ jobs: otp: '24.3' - elixir: '1.15.8' otp: '24.3' - - elixir: '1.14.5' - otp: '24.3' - - elixir: '1.13.4' - otp: '24.3' steps: - name: Checkout uses: actions/checkout@v4 diff --git a/test/fixtures/opt_workflow.yml b/test/fixtures/opt_workflow.yml index 6ac788b..b797171 100644 --- a/test/fixtures/opt_workflow.yml +++ b/test/fixtures/opt_workflow.yml @@ -1,2 +1,2 @@ -# Created with GitHubActions version 0.3.17 +# Created with GitHubActions version 0.4.0 name: CI diff --git a/test/fixtures/windows.yml b/test/fixtures/windows.yml index f5a779c..b337291 100644 --- a/test/fixtures/windows.yml +++ b/test/fixtures/windows.yml @@ -16,7 +16,7 @@ jobs: uses: erlef/setup-beam@v1 with: elixir-version: '1.19.5' - otp-version: '28.3' + otp-version: '28.4' - name: Restore deps uses: actions/cache@v4 with: diff --git a/test/git_hub_actions/versions_test.exs b/test/git_hub_actions/versions_test.exs index f5b8ef8..cdf2373 100644 --- a/test/git_hub_actions/versions_test.exs +++ b/test/git_hub_actions/versions_test.exs @@ -19,7 +19,7 @@ defmodule GitHubActions.VersionsTest do test "from_config/0" do assert List.last(Versions.from_config()) == - [otp: ["28.0/3"], elixir: ["1.18.4", "1.19.0/5"]] + [otp: ["28.0/4"], elixir: ["1.18.4", "1.19.0/5"]] end describe "get/2" do @@ -202,7 +202,8 @@ defmodule GitHubActions.VersionsTest do "28.0", "28.1", "28.2", - "28.3" + "28.3", + "28.4" ] end end @@ -374,7 +375,7 @@ defmodule GitHubActions.VersionsTest do %Version{major: 25, minor: 3}, %Version{major: 26, minor: 2}, %Version{major: 27, minor: 3}, - %Version{major: 28, minor: 3} + %Version{major: 28, minor: 4} ] end end @@ -562,27 +563,27 @@ defmodule GitHubActions.VersionsTest do elixir: %Version{major: 1, minor: 16, patch: 3} ], [ - otp: %Version{major: 28, minor: 3}, + otp: %Version{major: 28, minor: 4}, elixir: %Version{major: 1, minor: 12, patch: 3} ], [ - otp: %Version{major: 28, minor: 3}, + otp: %Version{major: 28, minor: 4}, elixir: %Version{major: 1, minor: 13, patch: 4} ], [ - otp: %Version{major: 28, minor: 3}, + otp: %Version{major: 28, minor: 4}, elixir: %Version{major: 1, minor: 14, patch: 5} ], [ - otp: %Version{major: 28, minor: 3}, + otp: %Version{major: 28, minor: 4}, elixir: %Version{major: 1, minor: 15, patch: 8} ], [ - otp: %Version{major: 28, minor: 3}, + otp: %Version{major: 28, minor: 4}, elixir: %Version{major: 1, minor: 16, patch: 3} ], [ - otp: %Version{major: 28, minor: 3}, + otp: %Version{major: 28, minor: 4}, elixir: %Version{major: 1, minor: 17, patch: 3} ] ] diff --git a/test/git_hub_actions/workflow_test.exs b/test/git_hub_actions/workflow_test.exs index 17d9155..2ed13a5 100644 --- a/test/git_hub_actions/workflow_test.exs +++ b/test/git_hub_actions/workflow_test.exs @@ -58,45 +58,45 @@ defmodule GitHubActions.WorkflowTest do "1.18.4", "1.19.5" ], - otp: ["21.3", "22.3", "23.3", "24.3", "25.3", "26.2", "27.3", "28.3"], + otp: ["21.3", "22.3", "23.3", "24.3", "25.3", "26.2", "27.3", "28.4"], exclude: [ [elixir: "1.10.4", otp: "24.3"], [elixir: "1.10.4", otp: "25.3"], [elixir: "1.10.4", otp: "26.2"], [elixir: "1.10.4", otp: "27.3"], - [elixir: "1.10.4", otp: "28.3"], + [elixir: "1.10.4", otp: "28.4"], [elixir: "1.11.4", otp: "25.3"], [elixir: "1.11.4", otp: "26.2"], [elixir: "1.11.4", otp: "27.3"], - [elixir: "1.11.4", otp: "28.3"], + [elixir: "1.11.4", otp: "28.4"], [elixir: "1.12.3", otp: "21.3"], [elixir: "1.12.3", otp: "25.3"], [elixir: "1.12.3", otp: "26.2"], [elixir: "1.12.3", otp: "27.3"], - [elixir: "1.12.3", otp: "28.3"], + [elixir: "1.12.3", otp: "28.4"], [elixir: "1.13.4", otp: "21.3"], [elixir: "1.13.4", otp: "26.2"], [elixir: "1.13.4", otp: "27.3"], - [elixir: "1.13.4", otp: "28.3"], + [elixir: "1.13.4", otp: "28.4"], [elixir: "1.14.5", otp: "21.3"], [elixir: "1.14.5", otp: "22.3"], [elixir: "1.14.5", otp: "27.3"], - [elixir: "1.14.5", otp: "28.3"], + [elixir: "1.14.5", otp: "28.4"], [elixir: "1.15.8", otp: "21.3"], [elixir: "1.15.8", otp: "22.3"], [elixir: "1.15.8", otp: "23.3"], [elixir: "1.15.8", otp: "27.3"], - [elixir: "1.15.8", otp: "28.3"], + [elixir: "1.15.8", otp: "28.4"], [elixir: "1.16.3", otp: "21.3"], [elixir: "1.16.3", otp: "22.3"], [elixir: "1.16.3", otp: "23.3"], [elixir: "1.16.3", otp: "27.3"], - [elixir: "1.16.3", otp: "28.3"], + [elixir: "1.16.3", otp: "28.4"], [elixir: "1.17.3", otp: "21.3"], [elixir: "1.17.3", otp: "22.3"], [elixir: "1.17.3", otp: "23.3"], [elixir: "1.17.3", otp: "24.3"], - [elixir: "1.17.3", otp: "28.3"], + [elixir: "1.17.3", otp: "28.4"], [elixir: "1.18.4", otp: "21.3"], [elixir: "1.18.4", otp: "22.3"], [elixir: "1.18.4", otp: "23.3"], @@ -149,15 +149,13 @@ defmodule GitHubActions.WorkflowTest do strategy: [ matrix: [ include: [ - [elixir: "1.19.5", otp: "28.3", coverage: "true", lint: "true"], + [elixir: "1.19.5", otp: "28.4", coverage: "true", lint: "true"], [elixir: "1.19.5", otp: "27.3"], [elixir: "1.19.5", otp: "26.2"], [elixir: "1.18.4", otp: "25.3"], [elixir: "1.17.3", otp: "25.3"], [elixir: "1.16.3", otp: "24.3"], - [elixir: "1.15.8", otp: "24.3"], - [elixir: "1.14.5", otp: "24.3"], - [elixir: "1.13.4", otp: "24.3"] + [elixir: "1.15.8", otp: "24.3"] ] ] ], @@ -255,39 +253,21 @@ defmodule GitHubActions.WorkflowTest do strategy: [ matrix: [ elixir: [ - "1.13.4", - "1.14.5", "1.15.8", "1.16.3", "1.17.3", "1.18.4", "1.19.5" ], - otp: ["22.3", "23.3", "24.3", "25.3", "26.2", "27.3", "28.3"], + otp: ["24.3", "25.3", "26.2", "27.3", "28.4"], exclude: [ - [elixir: "1.13.4", otp: "26.2"], - [elixir: "1.13.4", otp: "27.3"], - [elixir: "1.13.4", otp: "28.3"], - [elixir: "1.14.5", otp: "22.3"], - [elixir: "1.14.5", otp: "27.3"], - [elixir: "1.14.5", otp: "28.3"], - [elixir: "1.15.8", otp: "22.3"], - [elixir: "1.15.8", otp: "23.3"], [elixir: "1.15.8", otp: "27.3"], - [elixir: "1.15.8", otp: "28.3"], - [elixir: "1.16.3", otp: "22.3"], - [elixir: "1.16.3", otp: "23.3"], + [elixir: "1.15.8", otp: "28.4"], [elixir: "1.16.3", otp: "27.3"], - [elixir: "1.16.3", otp: "28.3"], - [elixir: "1.17.3", otp: "22.3"], - [elixir: "1.17.3", otp: "23.3"], + [elixir: "1.16.3", otp: "28.4"], [elixir: "1.17.3", otp: "24.3"], - [elixir: "1.17.3", otp: "28.3"], - [elixir: "1.18.4", otp: "22.3"], - [elixir: "1.18.4", otp: "23.3"], + [elixir: "1.17.3", otp: "28.4"], [elixir: "1.18.4", otp: "24.3"], - [elixir: "1.19.5", otp: "22.3"], - [elixir: "1.19.5", otp: "23.3"], [elixir: "1.19.5", otp: "24.3"], [elixir: "1.19.5", otp: "25.3"] ] @@ -324,7 +304,7 @@ defmodule GitHubActions.WorkflowTest do ], [ name: "Restore test/support/plts", - if: "${{ matrix.elixir == '1.19.5' && matrix.otp == '28.3' }}", + if: "${{ matrix.elixir == '1.19.5' && matrix.otp == '28.4' }}", uses: "actions/cache@v4", with: [ path: "test/support/plts", @@ -340,32 +320,32 @@ defmodule GitHubActions.WorkflowTest do ], [ name: "Check unused dependencies", - if: "${{ matrix.elixir == '1.19.5' && matrix.otp == '28.3' }}", + if: "${{ matrix.elixir == '1.19.5' && matrix.otp == '28.4' }}", run: "mix deps.unlock --check-unused" ], [ name: "Check code format", - if: "${{ matrix.elixir == '1.19.5' && matrix.otp == '28.3' }}", + if: "${{ matrix.elixir == '1.19.5' && matrix.otp == '28.4' }}", run: "mix format --check-formatted" ], [ name: "Lint code", - if: "${{ matrix.elixir == '1.19.5' && matrix.otp == '28.3' }}", + if: "${{ matrix.elixir == '1.19.5' && matrix.otp == '28.4' }}", run: "mix credo --strict" ], [ name: "Run tests", - if: "${{ !(matrix.elixir == '1.19.5' && matrix.otp == '28.3') }}", + if: "${{ !(matrix.elixir == '1.19.5' && matrix.otp == '28.4') }}", run: "mix test" ], [ name: "Run tests with coverage", - if: "${{ matrix.elixir == '1.19.5' && matrix.otp == '28.3' }}", + if: "${{ matrix.elixir == '1.19.5' && matrix.otp == '28.4' }}", run: "mix coveralls.github" ], [ name: "Static code analysis", - if: "${{ matrix.elixir == '1.19.5' && matrix.otp == '28.3' }}", + if: "${{ matrix.elixir == '1.19.5' && matrix.otp == '28.4' }}", run: "mix dialyzer --format github --force-check" ] ]