Skip to content

Commit

Permalink
github ci and ruby version
Browse files Browse the repository at this point in the history
  • Loading branch information
iloveitaly committed Jul 15, 2021
1 parent 63a78b8 commit 0341235
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Ruby

on: [push,pull_request]

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
ruby-version: ['3.0', 2.7, 2.6, 2.5, 2.4, 2.3, 2.2, 2.1]
steps:
- uses: actions/checkout@v2
- name: Set up Ruby ${{ matrix.ruby-version }}
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
- name: Install dependencies
run: bundle install
- name: Run tests
run: bundle exec rake
1 change: 1 addition & 0 deletions .ruby-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2.7

0 comments on commit 0341235

Please sign in to comment.