Skip to content

Commit

Permalink
Use github actions (#137)
Browse files Browse the repository at this point in the history
  • Loading branch information
bolshakov committed Nov 14, 2020
1 parent dcb7131 commit 8933ce7
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 18 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Ruby

on: [push]

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
ruby: [ '2.5.x', '2.6.x', '2.7.x' ]
name: ${{ matrix.ruby }}

steps:
- uses: actions/checkout@v1
- name: Set up ruby
uses: actions/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Install dependencies
run: |
gem install bundler --force --version=2.0.1
bundler --version
bundle install --jobs 4 --retry 3
- name: Test
run: bundle exec rake spec
- name: Lint
run: bundle exec rake rubocop
18 changes: 0 additions & 18 deletions .travis.yml

This file was deleted.

0 comments on commit 8933ce7

Please sign in to comment.