Replace Travis CI with GitHub Actions #193
Open
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.
This is a first pass at adding GitHub Actions to this project to replace the dead Travis CI. It runs and passes the test suite on every Perl release from 5.8 to 5.38.
However getting Perl 5.8, 5.10, 5.12, and to a lesser extent 5.14 working was a pain in the ass. The world has moved on and many of our direct and transitive dependencies don't support decade-and-a-half old Perls, who'd've thunk it!? My solution is to install a specific set of dependencies at specific versions:
While this technically works it's hella fragile and will require more and more maintenance over time as the world moves on. So I suggest we embrace this new world order and bump our minimum Perl to at least v5.12 (IO::Socket::IP is the only v5.14+ dep so far).
Bumping our Perl would allow for some nice cleanups and modernisations like using defined-or, droping
Class::C3::Adopt::NEXT
/MRO::Compat
in favour of the coremro
, and probably many others. Thoughts?