Skip to content

Commit

Permalink
Merge pull request #599 from gjtorikian/switch-to-actions
Browse files Browse the repository at this point in the history
Try using GitHub Actions
  • Loading branch information
gjtorikian committed Nov 23, 2020
2 parents 2a44ea1 + 5306637 commit 59c77f0
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 23 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/ci.yml
@@ -0,0 +1,31 @@
name: Ruby CI

on:
push:
branches: [$default-branch]
pull_request:
branches: [$default-branch]

jobs:
test:
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
ruby-version: [2.7.x, 2.6.x, 2.5.x, 2.4.x]

steps:
- uses: actions/checkout@v2
- name: Set up Ruby ${{ matrix.ruby-version }}
# To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
# change this to (see https://github.com/ruby/setup-ruby#versioning):
# uses: ruby/setup-ruby@v1
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true
- name: Install dependencies
run: bundle install
- name: Run tests
run: bundle exec rake
23 changes: 0 additions & 23 deletions .travis.yml

This file was deleted.

0 comments on commit 59c77f0

Please sign in to comment.