Skip to content

Commit

Permalink
GitHub action to build
Browse files Browse the repository at this point in the history
TravisCI is refusing to build right now. Let's try GHA.
  • Loading branch information
detunized committed Oct 27, 2020
1 parent d5d71dd commit 22f68cc
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Ruby

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby: [2.1, 2.2, 2.3, 2.4, 2.5, 2.6, 2.7]
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- run: bundle install
- run: bundle exec rake

0 comments on commit 22f68cc

Please sign in to comment.