Skip to content

Commit c0cd29f

Browse files
committed
ci: drop support for Ruby 2.6
1 parent ae7edc1 commit c0cd29f

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,15 @@ on:
55
pull_request:
66

77
jobs:
8+
ruby-versions:
9+
uses: ruby/actions/.github/workflows/ruby_versions.yml@master
10+
with:
11+
engine: cruby
12+
min_version: 2.7
13+
versions: '["debug"]'
14+
815
test:
16+
needs: ruby-versions
917
name: ${{ matrix.os }}/${{ matrix.ruby }}
1018
runs-on: ${{ matrix.os }}
1119
timeout-minutes: 10
@@ -15,16 +23,7 @@ jobs:
1523
os:
1624
- ubuntu-latest
1725
- ubuntu-22.04
18-
ruby:
19-
- 3.4
20-
- 3.3
21-
- 3.2
22-
- 3.1
23-
- "3.0"
24-
- 2.7
25-
- 2.6
26-
include:
27-
- { os: ubuntu-latest , ruby: debug }
26+
ruby: ${{ fromJson(needs.ruby-versions.outputs.versions) }}
2827

2928
steps:
3029
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)