.github/workflows/linux.yml in fluent-plugin-kafka-0.19.2 vs .github/workflows/linux.yml in fluent-plugin-kafka-0.19.3

- old
+ new

@@ -10,16 +10,30 @@ env: USE_RDKAFKA: 1 strategy: fail-fast: false matrix: - ruby: [ '3.2', '3.1', '3.0', '2.7' ] + ruby: [ '3.3', '3.2', '3.1', '3.0' ] os: - ubuntu-latest rdkafka_versions: - { min: '>= 0.6.0', max: '< 0.12.0' } - - { min: '>= 0.12.0', max: '>= 0.12.0' } + - { min: '>= 0.12.0', max: '< 0.14.0' } + - { min: '>= 0.14.0', max: '< 0.16.0' } + - { min: '>= 0.16.0', max: '>= 0.16.0' } + bundler_version: + - '2.5.16' + # rdkafka 0.15.2 is the last version which supports Ruby 2.7 + include: + - ruby: '2.7' + os: ubuntu-latest + rdkafka_versions: { min: '>= 0.6.0', max: '< 0.12.0' } + bundler_version: '2.4.22' + - ruby: '2.7' + os: ubuntu-latest + rdkafka_versions: { min: '>= 0.12.0', max: '= 0.15.2' } + bundler_version: '2.4.22' name: Ruby ${{ matrix.ruby }} unit testing on ${{ matrix.os }} with rdkafka gem version (min ${{ matrix.rdkafka_versions.min }} max ${{ matrix.rdkafka_versions.max }}) steps: - uses: actions/checkout@v4 - uses: ruby/setup-ruby@v1 with: @@ -38,8 +52,9 @@ CI: true RDKAFKA_VERSION_MIN_RANGE: ${{ matrix.rdkafka_versions.min }} RDKAFKA_VERSION_MAX_RANGE: ${{ matrix.rdkafka_versions.max }} run: | sudo ./ci/prepare-kafka-server.sh - gem install bundler rake - bundle install --jobs 4 --retry 3 - bundle exec rake test + gem install bundler -v ${{ matrix.bundler_version }} + gem install rake + bundle _${{ matrix.bundler_version }}_ install --jobs 4 --retry 3 + bundle _${{ matrix.bundler_version }}_ exec rake test