Skip to content

Commit a4ccff8

Browse files
committed
✨ Add Github actions CI
1 parent 07f43e7 commit a4ccff8

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/main.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: build
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
test:
7+
8+
runs-on: ubuntu-20.04
9+
10+
strategy:
11+
matrix:
12+
ruby-version:
13+
- 3.0.0
14+
- 2.7.2
15+
- 2.6.6
16+
- 2.5.8
17+
- 2.4.10
18+
19+
steps:
20+
- uses: actions/checkout@v2
21+
22+
- name: Set up Ruby ${{ matrix.ruby-version }}
23+
uses: ruby/setup-ruby@v1
24+
with:
25+
ruby-version: ${{ matrix.ruby-version }}
26+
bundler-cache: true
27+
28+
- name: Run tests
29+
run: bundle exec rspec --format documentation

0 commit comments

Comments
 (0)