Skip to content

Commit 4529279

Browse files
committed
Use separate workflow for rubocop
1 parent dfa6972 commit 4529279

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

.github/workflows/rubocop.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: Run rubocop
2+
on: [push, pull_request]
3+
jobs:
4+
rubocop:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- uses: actions/checkout@v2
8+
- uses: ruby/setup-ruby@v1
9+
with:
10+
ruby-version: 2.7
11+
- run: bundle install
12+
- run: bundle exec rake -t rubocop

.github/workflows/test.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,5 @@ jobs:
2525
- uses: ruby/setup-ruby@v1
2626
with:
2727
ruby-version: ${{ matrix.version }}
28-
- name: ruby version
29-
run: ruby -v
3028
- run: bundle install
31-
- run: bundle exec rake -t
29+
- run: bundle exec rake -t test

0 commit comments

Comments
 (0)