Skip to content

Preparing for release, 0.6.0. #17

Preparing for release, 0.6.0.

Preparing for release, 0.6.0. #17

Workflow file for this run

# Reference https://github.com/actions/starter-workflows/blob/main/ci/ruby.yml
name: test
on: [push, pull_request]
jobs:
lint:
name: RuboCop
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
bundler-cache: true
- name: Run RuboCop
run: bundle exec rubocop
test:
runs-on: ubuntu-latest
strategy:
matrix:
ruby-version: ['2.6', '2.7']
name: test (${{ matrix.ruby-version }})
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- run: bundle exec rake test