Skip to content

Commit f243b7c

Browse files
committed
Use reusing workflow for all tested versions and drop Ruby 2.5 for testing
1 parent 1dc561d commit f243b7c

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/test.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,18 @@ name: test
33
on: [push, pull_request]
44

55
jobs:
6+
ruby-versions:
7+
uses: ruby/actions/.github/workflows/ruby_versions.yml@master
8+
with:
9+
engine: cruby
10+
min_version: 2.6
11+
612
build:
13+
needs: ruby-versions
714
name: build (${{ matrix.ruby }} / ${{ matrix.os }})
815
strategy:
916
matrix:
10-
ruby: [ '3.0', 2.7, 2.6, 2.5, head ]
17+
ruby: ${{ fromJson(needs.ruby-versions.outputs.versions) }}
1118
os: [ ubuntu-latest, macos-latest ]
1219
runs-on: ${{ matrix.os }}
1320
steps:

0 commit comments

Comments
 (0)