File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -43,15 +43,12 @@ jobs:
43
43
bundle exec rake
44
44
45
45
scanner :
46
+ needs : ruby-versions
46
47
name : " Scanner test: Ruby ${{ matrix.ruby-version }}: ${{ matrix.runs-on }}"
47
48
strategy :
48
49
fail-fast : false
49
50
matrix :
50
- ruby-version :
51
- - " 3.1"
52
- - " 3.0"
53
- - " 2.7"
54
- - debug
51
+ ruby-version : ${{ fromJson(needs.ruby-versions.outputs.versions) }}
55
52
runs-on :
56
53
- macos-latest
57
54
- ubuntu-latest
85
82
- uses : actions/checkout@v4
86
83
- uses : ruby/setup-ruby@v1
87
84
with :
88
- ruby-version : 2.7
85
+ ruby-version : ruby
89
86
- name : Install
90
87
run : |
91
88
rake install
@@ -105,7 +102,7 @@ jobs:
105
102
- uses : actions/checkout@v4
106
103
- uses : ruby/setup-ruby@v1
107
104
with :
108
- ruby-version : 2.7
105
+ ruby-version : ruby
109
106
bundler-cache : true
110
107
- name : Build document
111
108
run : |
You can’t perform that action at this time.
0 commit comments