Skip to content

Commit 9950d2e

Browse files
build: run rubocop against Ruby 3.2 only
1 parent cfc054b commit 9950d2e

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,13 @@ jobs:
4242
steps:
4343
- uses: actions/checkout@v2
4444
- run: rm Gemfile.lock
45-
- uses: ruby/setup-ruby@v1
45+
- name: Set up Ruby ${{ matrix.ruby }}
46+
uses: ruby/setup-ruby@v1
4647
with:
4748
ruby-version: ${{ matrix.ruby-version }}
4849
bundler-cache: true
49-
- run: bundle exec rake
50+
- name: Run rubocop
51+
run: bundle exec rubocop
52+
if: ${{ matrix.ruby == '3.2.0' }}
53+
- name: Run tests
54+
run: bundle exec rspec

0 commit comments

Comments
 (0)