Skip to content

Commit 8bbe002

Browse files
authored
Merge pull request #643 from koic/pin_the_ci_test_matrix_to_ubuntu_24_04
Run the CI test matrix below Ruby 3.2 on ubuntu-24.04
2 parents a93fbf8 + 543485e commit 8bbe002

1 file changed

Lines changed: 10 additions & 9 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,21 @@ on: [push, pull_request]
33

44
jobs:
55
test:
6-
runs-on: ubuntu-latest
6+
# ruby/setup-ruby has no CRuby below 3.2 for ubuntu-26.04, which ubuntu-latest points to, so those run on ubuntu-24.04.
7+
runs-on: ${{ matrix.entry.os }}
78
permissions:
89
contents: read
910
strategy:
1011
matrix:
1112
entry:
12-
- { ruby: '2.7.0', allowed-failure: false } # Minimum supported Ruby version.
13-
- { ruby: '3.0', allowed-failure: false }
14-
- { ruby: '3.1', allowed-failure: false }
15-
- { ruby: '3.2', allowed-failure: false }
16-
- { ruby: '3.3', allowed-failure: false }
17-
- { ruby: '3.4', allowed-failure: false }
18-
- { ruby: '4.0', allowed-failure: false }
19-
- { ruby: 'head', allowed-failure: true }
13+
- { ruby: '2.7.0', os: ubuntu-24.04, allowed-failure: false } # Minimum supported Ruby version.
14+
- { ruby: '3.0', os: ubuntu-24.04, allowed-failure: false }
15+
- { ruby: '3.1', os: ubuntu-24.04, allowed-failure: false }
16+
- { ruby: '3.2', os: ubuntu-latest, allowed-failure: false }
17+
- { ruby: '3.3', os: ubuntu-latest, allowed-failure: false }
18+
- { ruby: '3.4', os: ubuntu-latest, allowed-failure: false }
19+
- { ruby: '4.0', os: ubuntu-latest, allowed-failure: false }
20+
- { ruby: 'head', os: ubuntu-latest, allowed-failure: true }
2021
name: Test Ruby ${{ matrix.entry.ruby }}
2122
steps:
2223
- uses: actions/checkout@v7

0 commit comments

Comments
 (0)