Skip to content

Commit 18d28af

Browse files
authored
Create main.yml
1 parent e40f3d3 commit 18d28af

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/main.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Ruby
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
9+
steps:
10+
- uses: actions/checkout@v1
11+
- name: Set up Ruby 2.6
12+
uses: actions/setup-ruby@v1
13+
with:
14+
ruby-version: 2.6.x
15+
16+
- name: Run tests
17+
run: |
18+
gem install bundler
19+
bundle install --jobs 4 --retry 3
20+
bundle exec rspec
21+
22+
- name: StandardRB checks
23+
uses: amoeba/standardrb-action@v2

0 commit comments

Comments
 (0)