File tree Expand file tree Collapse file tree 6 files changed +1229
-381
lines changed
Expand file tree Collapse file tree 6 files changed +1229
-381
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -11,14 +11,30 @@ permissions:
1111 contents : read
1212
1313jobs :
14+ rubocop_and_matrix :
15+ runs-on : ubuntu-24.04
16+ outputs :
17+ ruby : ${{ steps.ruby.outputs.versions }}
18+ steps :
19+ - uses : actions/checkout@v4
20+ - name : Install Ruby ${{ matrix.ruby }}
21+ uses : ruby/setup-ruby@v1
22+ with :
23+ ruby-version : " 3.4"
24+ bundler-cache : true
25+ - name : Run Rubocop
26+ run : bundle exec rake rubocop
27+ - id : ruby
28+ uses : voxpupuli/ruby-version@v1
1429
1530 unit :
31+ needs : rubocop_and_matrix
1632 name : " Ruby ${{ matrix.ruby }} ${{ matrix.os }}"
1733 strategy :
1834 fail-fast : false
1935 matrix :
2036 os : [ubuntu-24.04, windows-latest]
21- ruby : ['3.2', '3.3']
37+ ruby : ${{ steps.ruby.outputs.versions }}
2238 runs-on : ${{ matrix.os }}
2339 steps :
2440 - name : Checkout repository
4460
4561 tests :
4662 needs :
63+ - rubocop_and_matrix
4764 - unit
4865 runs-on : ubuntu-24.04
4966 name : Test suite
You can’t perform that action at this time.
0 commit comments