Skip to content

Commit 8f97d9c

Browse files
authored
Setup GitHub Action
1 parent 6b497a8 commit 8f97d9c

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/ruby.yml

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Ruby
2+
3+
on: [push]
4+
5+
jobs:
6+
test:
7+
runs-on: ubuntu-latest
8+
strategy:
9+
matrix:
10+
ruby-version: ['2.4', '2.5', '2.6']
11+
12+
steps:
13+
- uses: actions/checkout@v2
14+
- name: Set up Ruby ${{ matrix.ruby-version }}
15+
uses: actions/setup-ruby@v1
16+
with:
17+
ruby-version: ${{ matrix.ruby-version }}
18+
- name: Build and test with Rake
19+
run: |
20+
gem install bundler
21+
bundle install --jobs 4 --retry 3
22+
bundle exec rake

0 commit comments

Comments
 (0)