Skip to content

Commit a0394b6

Browse files
committed
chore: Update workflows for ruby
1 parent 5e5d5ca commit a0394b6

File tree

2 files changed

+13
-21
lines changed

2 files changed

+13
-21
lines changed

.github/workflows/ruby-test.yml

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,9 @@ jobs:
1515
test_log_courier:
1616
strategy:
1717
matrix:
18-
# Logstash 8.0.0 is our earliest supported version, which uses JRuby 9.2.20.1, compatible with Ruby 2.5.x
19-
# Test also against 9.3.10.0 which is latest version and comaptible with Ruby 2.6.x
20-
# NOTE: Logstash seems to fail on 9.4.1.0 which is latest version and comaptible with Ruby 3.1.x (latest 3.1.3 at time of writing)
21-
ruby: ['ruby-2.5.9', 'jruby-9.2.20.1', 'ruby-2.6.10', 'jruby-9.3.10.0']
18+
# Test against 9.4.12.0 (latest as of 01-03-2025)
19+
# Also test on Ruby 3.2, 3.3 and 3.4 (latest as of 01-03-2025)
20+
ruby: ['jruby-9.4.12.0', 'ruby-3.2.7', 'ruby-3.3.7', 'ruby-3.4.2']
2221
name: Test Log Courier ${{ matrix.ruby }}
2322
runs-on: ubuntu-latest
2423
steps:
@@ -37,10 +36,8 @@ jobs:
3736
test_logstash_input_courier:
3837
strategy:
3938
matrix:
40-
# Logstash 8.0.0 is our earliest supported version, which uses JRuby 9.2.20.1, compatible with Ruby 2.5.x
41-
# Test also against 9.3.10.0 which is latest version and comaptible with Ruby 2.6.x
42-
# NOTE: Logstash seems to fail on 9.4.1.0 which is latest version and comaptible with Ruby 3.1.x (latest 3.1.3 at time of writing)
43-
ruby: ['jruby-9.2.20.1', 'jruby-9.3.10.0']
39+
# Test against 9.4.12.0 (latest as of 01-03-2025)
40+
ruby: ['jruby-9.4.12.0']
4441
name: Test Logstash Input Courier ${{ matrix.ruby }}
4542
runs-on: ubuntu-latest
4643
steps:
@@ -70,10 +67,8 @@ jobs:
7067
test_logstash_output_courier:
7168
strategy:
7269
matrix:
73-
# Logstash 8.0.0 is our earliest supported version, which uses JRuby 9.2.20.1, compatible with Ruby 2.5.x
74-
# Test also against 9.3.10.0 which is latest version and comaptible with Ruby 2.6.x
75-
# NOTE: Logstash seems to fail on 9.4.1.0 which is latest version and comaptible with Ruby 3.1.x (latest 3.1.3 at time of writing)
76-
ruby: ['jruby-9.2.20.1', 'jruby-9.3.10.0']
70+
# Test against 9.4.12.0 (latest as of 01-03-2025)
71+
ruby: ['jruby-9.4.12.0']
7772
name: Test Logstash Output Courier ${{ matrix.ruby }}
7873
runs-on: ubuntu-latest
7974
steps:

.github/workflows/rubygems-testing.yml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@ jobs:
1414
steps:
1515
- uses: ruby/setup-ruby@v1
1616
with:
17-
# Build only for our minimum supported version
18-
ruby-version: 'jruby-9.2.11.1'
17+
ruby-version: 'jruby-9.3.15.0'
1918
- name: Checkout
2019
uses: actions/checkout@v3
2120
- name: Package
@@ -25,7 +24,7 @@ jobs:
2524
gem install rake
2625
rake package
2726
- name: Upload Gem
28-
uses: actions/upload-artifact@v2
27+
uses: actions/upload-artifact@v4
2928
if: ${{ always() }}
3029
with:
3130
name: log-courier
@@ -37,8 +36,7 @@ jobs:
3736
steps:
3837
- uses: ruby/setup-ruby@v1
3938
with:
40-
# Build only for our minimum supported version
41-
ruby-version: 'jruby-9.2.11.1'
39+
ruby-version: 'jruby-9.3.15.0'
4240
- name: Checkout
4341
uses: actions/checkout@v3
4442
- name: Package
@@ -48,7 +46,7 @@ jobs:
4846
gem install rake
4947
rake package
5048
- name: Upload Gem
51-
uses: actions/upload-artifact@v2
49+
uses: actions/upload-artifact@v4
5250
if: ${{ always() }}
5351
with:
5452
name: logstash-input-courier
@@ -60,8 +58,7 @@ jobs:
6058
steps:
6159
- uses: ruby/setup-ruby@v1
6260
with:
63-
# Build only for our minimum supported version
64-
ruby-version: 'jruby-9.2.11.1'
61+
ruby-version: 'jruby-9.3.15.0'
6562
- name: Checkout
6663
uses: actions/checkout@v3
6764
- name: Package
@@ -71,7 +68,7 @@ jobs:
7168
gem install rake
7269
rake package
7370
- name: Upload Gem
74-
uses: actions/upload-artifact@v2
71+
uses: actions/upload-artifact@v4
7572
if: ${{ always() }}
7673
with:
7774
name: logstash-output-courier

0 commit comments

Comments
 (0)