Skip to content

Commit 57e5b0e

Browse files
committed
ci: replace unsupported ruby 2.1.10 with 2.1.9
1 parent 38a0add commit 57e5b0e

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,24 @@ name: CI
22

33
on:
44
push:
5-
branches: [ main, master ]
5+
branches: [main, master]
66
pull_request:
7+
78
jobs:
89
test:
910
runs-on: ubuntu-22.04
1011
strategy:
1112
fail-fast: false
1213
matrix:
1314
include:
14-
# ---- Ruby ≤ 2.2 need Bundler 1.17.x ------------------------
15+
# Ruby ≤ 2.2 need Bundler 1.17.x
1516
- ruby: "2.0.0-p648"
1617
bundler: "1.17.3"
17-
- ruby: "2.1.10"
18+
- ruby: "2.1.9"
1819
bundler: "1.17.3"
1920
- ruby: "2.2.10"
2021
bundler: "1.17.3"
21-
# ---- Normal modern combo -----------------------------------
22+
# Modern versions
2223
- ruby: "2.3.8"
2324
- ruby: "2.4.10"
2425
- ruby: "2.5.9"
@@ -28,6 +29,7 @@ jobs:
2829
- ruby: "3.1.4"
2930
- ruby: "3.2.3"
3031
- ruby: "3.3.0"
32+
3133
steps:
3234
- uses: actions/checkout@v4
3335

@@ -36,9 +38,8 @@ jobs:
3638
with:
3739
ruby-version: ${{ matrix.ruby }}
3840
bundler: ${{ matrix.bundler || 'latest' }}
39-
bundler-cache: true # caches Gem/ bundler dir
41+
bundler-cache: true
4042

41-
# For 2.0–2.2, force-install bundler 1.17 (setup-ruby can’t)
4243
- name: Install Bundler 1.x on very old Rubies
4344
if: matrix.bundler
4445
run: gem install bundler -v "$BUNDLER_VERSION"

0 commit comments

Comments
 (0)