Skip to content

Commit c03b34a

Browse files
authored
Merge pull request #199 from nobu/ruby-versions
Update ruby versions to test
2 parents cf791d1 + c5907fb commit c03b34a

File tree

2 files changed

+11
-9
lines changed

2 files changed

+11
-9
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,24 +13,25 @@ jobs:
1313
- name: Set up Ruby
1414
uses: ruby/setup-ruby@v1
1515
with:
16-
ruby-version: 3.1
16+
ruby-version: ruby
1717
bundler-cache: true
1818
- name: Linting
1919
run: bundle exec standardrb
20+
env:
21+
RUBYOPT: --disable=syntax_suggest
22+
23+
ruby-versions:
24+
uses: ruby/actions/.github/workflows/ruby_versions.yml@master
25+
with:
26+
engine: cruby
2027

2128
test:
29+
needs: ruby-versions
2230
runs-on: ubuntu-latest
2331
strategy:
2432
fail-fast: false
2533
matrix:
26-
ruby:
27-
- 2.5
28-
- 2.6
29-
- 2.7
30-
- '3.0'
31-
- 3.1
32-
- 3.2
33-
- head
34+
ruby: ${{ fromJson(needs.ruby-versions.outputs.versions) }}
3435
steps:
3536
- name: Checkout code
3637
uses: actions/checkout@v3.5.3

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
## HEAD (unreleased)
22

3+
- No longer supports EOL versions of Ruby.
34
- Handle Ruby 3.3 new eval source location format (https://github.com/ruby/syntax_suggest/pull/200).
45

56
## 1.1.0

0 commit comments

Comments
 (0)