Skip to content

Commit ed9eb38

Browse files
committed
ci pycall: use ruby-versions
1 parent c0cd29f commit ed9eb38

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

.github/workflows/pycall.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,15 @@ on:
55
pull_request:
66

77
jobs:
8+
ruby-versions:
9+
uses: ruby/actions/.github/workflows/ruby_versions.yml@master
10+
with:
11+
engine: cruby
12+
min_version: "3.1"
13+
versions: '["debug"]'
14+
815
test:
16+
needs: ruby-versions
917
name: ${{ matrix.os }}/${{ matrix.ruby }}/${{ matrix.python }}-${{ matrix.python_architecture }}
1018
runs-on: ${{ matrix.os }}
1119
timeout-minutes: 10
@@ -16,12 +24,7 @@ jobs:
1624
os:
1725
- ubuntu-latest
1826
- ubuntu-22.04
19-
ruby:
20-
- debug
21-
- 3.4
22-
- 3.3
23-
- 3.2
24-
- 3.1
27+
ruby: ${{ fromJson(needs.ruby-versions.outputs.versions) }}
2528
python:
2629
- 3.x
2730
python_architecture:

0 commit comments

Comments
 (0)