This repository was archived by the owner on May 6, 2024. It is now read-only.
Improve the Github Action for testing various combinations of ruby/faraday/active[support|model] #3
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.
I took the liberty to update the Github action to improve the tests
Also made these decisions:
drop support for rails < 6.0. It's no longer maintained.
See: https://www.fastruby.io/blog/ruby/rails/versions/compatibility-table.html
setup appraisals for all major/minor versions of active[support|model] >= 6
test w/ faraday 1.x & 2.x on various ruby's
faraday-gzip
depends on Ruby (>= 2.6, < 4) so <= 2.5 is out the windowwhen ruby test passes run all combinations of ruby/faraday/active[support|model]
b/c required ruby >= 2.7.0
Note: The github action is partial copied from https://github.com/LeipeLeon/rails_key_rotator/blob/main/.github/workflows/main.yml