We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 34aa969 + 83282f4 commit 7e05c10Copy full SHA for 7e05c10
.github/workflows/test.yml
@@ -7,11 +7,21 @@ on:
7
pull_request:
8
9
jobs:
10
+ ruby-versions:
11
+ runs-on: ubuntu-latest
12
+ outputs:
13
+ versions: ${{ steps.versions.outputs.value }}
14
+ steps:
15
+ - id: versions
16
+ run: |
17
+ versions=$(curl -s 'https://cache.ruby-lang.org/pub/misc/ci_versions/cruby.json' | jq -c )
18
+ echo "::set-output name=value::${versions}"
19
test:
20
+ needs: ruby-versions
21
name: build (${{ matrix.ruby }} / ${{ matrix.os }})
22
strategy:
23
matrix:
- ruby: [ '3.0', 2.7, head ]
24
+ ruby: ${{ fromJson(needs.ruby-versions.outputs.versions) }}
25
os: [ ubuntu-latest, macos-latest ]
26
runs-on: ${{ matrix.os }}
27
steps:
0 commit comments