Skip to content

Commit 1013025

Browse files
Adds CI using GitHub Actions
1 parent bd84810 commit 1013025

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/ci.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: CI
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
test:
7+
runs-on: ubuntu-latest
8+
strategy:
9+
matrix:
10+
ruby-version: ['2.6', '2.7', '3.0', '3.1']
11+
12+
steps:
13+
- uses: actions/checkout@v2
14+
- name: Set up Ruby ${{ matrix.ruby-version }}
15+
uses: ruby/setup-ruby@v1
16+
with:
17+
ruby-version: ${{ matrix.ruby-version }}
18+
bundler-cache: true # 'bundle install' and cache
19+
- name: Run specs
20+
run: |
21+
bundle exec rake

0 commit comments

Comments
 (0)