Skip to content

Commit f768af0

Browse files
committed
Use ruby/actions/.github/workflows/ruby_versions.yml@master
1 parent 8af16ba commit f768af0

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,10 @@ on: [push, pull_request]
44

55
jobs:
66
ruby-versions:
7-
runs-on: ubuntu-latest
8-
outputs:
9-
versions: ${{ steps.versions.outputs.value }}
10-
steps:
11-
- id: versions
12-
run: |
13-
versions=$(curl -s 'https://cache.ruby-lang.org/pub/misc/ci_versions/all.json' | jq -c '. + ["2.5"]')
14-
echo "value=${versions}" >> $GITHUB_OUTPUT
7+
uses: ruby/actions/.github/workflows/ruby_versions.yml@master
8+
with:
9+
min_version: 2.5
10+
1511
test:
1612
needs: ruby-versions
1713
name: build (${{ matrix.ruby }} / ${{ matrix.os }})

0 commit comments

Comments
 (0)