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:
4343 bundle exec rake
4444
4545 scanner :
46+ needs : ruby-versions
4647 name : " Scanner test: Ruby ${{ matrix.ruby-version }}: ${{ matrix.runs-on }}"
4748 strategy :
4849 fail-fast : false
4950 matrix :
50- ruby-version :
51- - " 3.1"
52- - " 3.0"
53- - " 2.7"
54- - debug
51+ ruby-version : ${{ fromJson(needs.ruby-versions.outputs.versions) }}
5552 runs-on :
5653 - macos-latest
5754 - ubuntu-latest
8582 - uses : actions/checkout@v4
8683 - uses : ruby/setup-ruby@v1
8784 with :
88- ruby-version : 2.7
85+ ruby-version : ruby
8986 - name : Install
9087 run : |
9188 rake install
@@ -105,7 +102,7 @@ jobs:
105102 - uses : actions/checkout@v4
106103 - uses : ruby/setup-ruby@v1
107104 with :
108- ruby-version : 2.7
105+ ruby-version : ruby
109106 bundler-cache : true
110107 - name : Build document
111108 run : |
You can’t perform that action at this time.
0 commit comments