Skip to content

Commit 981f61c

Browse files
committed
ci: add Ruby 4.0 to the test matrix
1 parent 0e34370 commit 981f61c

File tree

3 files changed

+12
-10
lines changed

3 files changed

+12
-10
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,16 @@ jobs:
1010
name: Ruby ${{ matrix.ruby }}/Rails ${{ matrix.rails }}
1111
strategy:
1212
matrix:
13-
ruby: ['3.2', '3.3', '3.4']
13+
ruby: ['3.2', '3.3', '3.4', '4.0']
1414
rails: ['7.0', '7.1', '7.2', '8.0', '8.1']
1515
exclude:
1616
# Rails < 7.2 is incompat with Ruby 3.3+
1717
- { ruby: '3.3', rails: '7.0' }
1818
- { ruby: '3.3', rails: '7.1' }
1919
- { ruby: '3.4', rails: '7.0' }
2020
- { ruby: '3.4', rails: '7.1' }
21+
- { ruby: '4.0', rails: '7.0' }
22+
- { ruby: '4.0', rails: '7.1' }
2123
fail-fast: false # applies to matrix
2224
continue-on-error: true # applies to job
2325

.github/workflows/rails-main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
name: Ruby ${{ matrix.ruby }}/Rails ${{ matrix.rails }}
1111
strategy:
1212
matrix:
13-
ruby: ['3.2', '3.3', '3.4']
13+
ruby: ['3.2', '3.3', '3.4', '4.0']
1414
rails: ['main']
1515

1616
env:

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@ The following Rails and Ruby versions[^1] are supported
1616
[and tested](https://github.com/digineo/texd-ruby/actions/workflows/main.yml?query=branch%3Amaster);
1717
older versions of Ruby and Rails *may* work, but this is not guaranteed.
1818

19-
| ↓ Rails / Ruby → | 3.2 | 3.3 | 3.4 | Notes |
20-
|-----------------:|:----|:----|:----|:--------|
21-
| 7.0 |||| (1) |
22-
| 7.1 |||| (1) |
23-
| 7.2 |||| |
24-
| 8.0 |||| (2) |
25-
| 8.1 |||| (2) |
26-
| main branch |||| (2) |
19+
| ↓ Rails / Ruby → | 3.2 | 3.3 | 3.4 | 4.0 | Notes |
20+
|-----------------:|:----|:----|:----|:----|:--------|
21+
| 7.0 |||| | (1) |
22+
| 7.1 |||| | (1) |
23+
| 7.2 |||| | |
24+
| 8.0 |||| | (2) |
25+
| 8.1 |||| | (2) |
26+
| main branch |||| | (2) |
2727

2828
<details open><summary>Notes</summary>
2929

0 commit comments

Comments
 (0)