Skip to content

Commit bc9144e

Browse files
committed
Refresh Ruby versions used for testing libdatadog gem
Added Ruby versions 3.2, 3.3 and 3.4, and removed old Rubies that I'm about to drop on the next commit.
1 parent d8978cc commit bc9144e

File tree

1 file changed

+2
-23
lines changed

1 file changed

+2
-23
lines changed

.github/workflows/test-ruby.yml

Lines changed: 2 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -10,32 +10,11 @@ jobs:
1010
fail-fast: false
1111
matrix:
1212
os: [ubuntu-latest]
13-
ruby: [2.1, 2.3, 2.4, 2.5, 2.6, 2.7, '3.0', 3.1, head]
13+
ruby: ['2.5', '2.6', '2.7', '3.0', '3.1', '3.2', '3.3', '3.4', head]
1414
runs-on: ${{ matrix.os }}
1515
steps:
1616
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2
17-
- uses: ruby/setup-ruby@922ebc4c5262cd14e07bb0e1db020984b6c064fe # 1.226.0
18-
with:
19-
ruby-version: ${{ matrix.ruby }}
20-
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
21-
working-directory: ruby/
22-
- run: cd ruby && bundle exec rake
23-
# Workaround for broken issue
24-
# ```
25-
# ERROR: While executing gem ... (RuntimeError)
26-
# Marshal.load reentered at marshal_load
27-
# ```
28-
# suggested in https://github.com/ruby/setup-ruby/issues/496 (use ubuntu 20.04 instead of a later version)
29-
test-legacy-workaround:
30-
strategy:
31-
fail-fast: false
32-
matrix:
33-
os: [ubuntu-20.04]
34-
ruby: [2.2]
35-
runs-on: ${{ matrix.os }}
36-
steps:
37-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2
38-
- uses: ruby/setup-ruby@922ebc4c5262cd14e07bb0e1db020984b6c064fe # 1.226.0
17+
- uses: ruby/setup-ruby@13e7a03dc3ac6c3798f4570bfead2aed4d96abfb # 1.244.0
3918
with:
4019
ruby-version: ${{ matrix.ruby }}
4120
bundler-cache: true # runs 'bundle install' and caches installed gems automatically

0 commit comments

Comments
 (0)