Skip to content

Commit c1b9410

Browse files
authored
ci: Adjust Ruby versions (#267)
* ci: Adjust Ruby versions Signed-off-by: Shizuo Fujita <[email protected]> * test_in_cloudwatch_logs: add 'require ostruct' Signed-off-by: Shizuo Fujita <[email protected]> * ci: update actions/checkout version Signed-off-by: Shizuo Fujita <[email protected]> --------- Signed-off-by: Shizuo Fujita <[email protected]>
1 parent f3bc56e commit c1b9410

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

.github/workflows/linux.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ jobs:
88
strategy:
99
fail-fast: false
1010
matrix:
11-
ruby: [ '2.5', '2.6', '2.7', '3.0' ]
11+
ruby: [ '3.2', '3.3', '3.4' ]
1212
os:
1313
- ubuntu-latest
1414
name: Ruby ${{ matrix.ruby }} unit testing on ${{ matrix.os }}
1515
steps:
16-
- uses: actions/checkout@v2
16+
- uses: actions/checkout@v4
1717
- uses: ruby/setup-ruby@v1
1818
with:
1919
ruby-version: ${{ matrix.ruby }}

.github/workflows/windows.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ jobs:
88
strategy:
99
fail-fast: false
1010
matrix:
11-
ruby: [ '2.5', '2.6', '2.7', '3.0' ]
11+
ruby: [ '3.2', '3.3', '3.4' ]
1212
os:
1313
- windows-latest
1414
name: Ruby ${{ matrix.ruby }} unit testing on ${{ matrix.os }}
1515
steps:
16-
- uses: actions/checkout@v2
16+
- uses: actions/checkout@v4
1717
- uses: ruby/setup-ruby@v1
1818
with:
1919
ruby-version: ${{ matrix.ruby }}

test/plugin/test_in_cloudwatch_logs.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
require 'fluent/test/helpers'
44
require 'date'
55
require 'fluent/plugin/in_cloudwatch_logs'
6+
require 'ostruct'
67

78
class CloudwatchLogsInputTest < Test::Unit::TestCase
89
include CloudwatchLogsTestHelper

0 commit comments

Comments
 (0)