.github/workflows/ci.yml in convenient_service-0.11.0 vs .github/workflows/ci.yml in convenient_service-0.12.0
- old
+ new
@@ -58,11 +58,11 @@
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
- ruby-version: 3.1
+ ruby-version: 3.2
##
# NOTE: Installs the latest compatible Bundler version, runs `bundle install` and caches installed gems.
# - https://github.com/ruby/setup-ruby#usage
# - https://github.com/ruby/setup-ruby#bundler
#
@@ -86,10 +86,13 @@
# NOTE: If there are no memory, performance, or cost constraints, prefer to use as standard Linux distribution as it is possible.
# In a general case, you simply won't have enough time to resolve all the "quirks" of more specific distributions if you are an application developer.
# That is why the well-known Ubuntu is used.
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#choosing-github-hosted-runners
#
+ # NOTE: List of all possible Ruby, JRuby versions.
+ # https://github.com/ruby/setup-ruby/blob/master/ruby-builder-versions.json
+ #
runs-on: ubuntu-20.04
strategy:
matrix:
gemfile:
- Gemfile
@@ -99,9 +102,26 @@
# NOTE: 3.0 is wrapped by quotes in order to avoid misparsing it as integer.
# https://github.com/actions/runner/issues/849
#
- "3.0"
- 3.1
+ - 3.2
+ ##
+ # NOTE: JRuby 9.4 aims CRuby 3.1 compatibility.
+ # - https://www.jruby.org/download
+ #
+ - "jruby-9.4"
+ ##
+ # NOTE: TruffleRuby 22.3 aims CRuby 3.1 compatibility.
+ # - https://www.jruby.org/download
+ #
+ # IMPORTANT: TruffleRuby 22.3 is currently disabled since too many specs are failing due to CRuby uncompatible code.
+ #
+ # NOTE: Use `task docker:bash:truffleruby_22.3` and then `task rspec` to reproduce them locally.
+ #
+ # TODO: Make ConvenientService TruffleRuby 22.3 compatible.
+ #
+ # - "truffleruby-22.3"
env:
BUNDLE_GEMFILE: ${{ matrix.gemfile }}
name: "Test Ruby `${{ matrix.ruby }}` with Gemfile `${{ matrix.gemfile }}`"
steps: