Skip to content

Commit

Permalink
Merge pull request #528 from test-kitchen/github_actions
Browse files Browse the repository at this point in the history
Test on Ruby 3.0 and cache gems
  • Loading branch information
tas50 authored Jan 11, 2021
2 parents a2d922e + 49f559e commit 2c93417
Showing 1 changed file with 8 additions and 13 deletions.
21 changes: 8 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,22 @@
name: CI

on:
push:
branches:
- master
pull_request:
push:
branches:
- master
- master

jobs:
build:
test:
runs-on: ubuntu-latest
strategy:
matrix:
ruby: [ '2.4', '2.5', '2.6', '2.7' ]
ruby: [ '2.5', '2.6', '2.7', '3.0']
name: Lint & Test with Ruby ${{ matrix.ruby }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-ruby@v1
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Setup Ruby environment
run: |
gem install bundler
bundle install --jobs 4 --retry 3
- name: Testing & Linting
run: bundle exec rake
bundler-cache: true
- run: bundle exec rake

0 comments on commit 2c93417

Please sign in to comment.