File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed
Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change 1010
1111env :
1212 RAILS_ENV : test
13+ RUBY_VERSION : 3.2
1314
1415jobs :
1516 rubocop :
1617 name : Rubocop checking
1718 runs-on : ubuntu-latest
1819
19- strategy :
20- matrix :
21- ruby_version : [3.1, 3.2]
22-
2320 steps :
2421 - name : Checkout repo
2522 uses : actions/checkout@v3
3027 - name : Setup Ruby
3128 uses : ruby/setup-ruby@v1
3229 with :
33- ruby-version : ${{ matrix.ruby_version }}
30+ ruby-version : ${{ env.RUBY_VERSION }}
3431 bundler-cache : true
3532 - run : bundle exec rubocop
3633
@@ -106,7 +103,7 @@ jobs:
106103 path : tmp/screenshots
107104 if-no-files-found : ignore
108105 - uses : codecov/codecov-action@v5
109- if : ${{ matrix.ruby_version == 3.2 && matrix.test_type == 'test' && github.actor != 'dependabot[bot]' }}
106+ if : ${{ matrix.ruby_version == env.RUBY_VERSION && matrix.test_type == 'test' && github.actor != 'dependabot[bot]' }}
110107 with :
111108 directory : coverage
112109 fail_ci_if_error : true
You can’t perform that action at this time.
0 commit comments