Skip to content

Commit 03b90ec

Browse files
Rename "Ruby" action to "Test", and add Rubocop action
1 parent 000526a commit 03b90ec

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

.github/workflows/rubocop.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Rubocop
2+
3+
on: push
4+
5+
jobs:
6+
rubocop:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v2
10+
- name: Set up Ruby
11+
uses: ruby/setup-ruby@v1
12+
with:
13+
ruby-version: 2.7
14+
- run: gem install bundler -v 2.2.4
15+
- run: bundle install
16+
- run: bundle exec rubocop

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Ruby
1+
name: Test
22

33
on: push
44

0 commit comments

Comments
 (0)