Elixir sometimes breaks things in new versions, I would like to catch this in time. One idea I have is
- Run a runner on a monthly basis
- It checks on latest Alpine (or other distro with "recent" packages)
- Run
mix test --warnings-as-errors- If this fails => fail and I need to get an email (can some custom message be added somehow? Problem should be fixed with newest Elixir, and best also run
mix format)
- If this fails => fail and I need to get an email (can some custom message be added somehow? Problem should be fixed with newest Elixir, and best also run
I have turned on Actions already, but still have to figure out how to do it. See documentation at
- Codeberg: https://docs.codeberg.org/ci/actions/
- Forgejo: https://forgejo.org/docs/latest/user/actions/overview/
Other actions can also be added later, like allowing to run mix test --warnings-as-errors and format mix format --check-formatted on latest Elixir. On oldest supported Elixir it should run mix test.