Skip to content

update ruby versions in gemspec and github actions workflow #8

update ruby versions in gemspec and github actions workflow

update ruby versions in gemspec and github actions workflow #8

Workflow file for this run

name: Ruby CI
on:
pull_request:
push:
branches:
- main
jobs:
rubocop:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: "3.2.1"
bundler-cache: true
- run: bundle exec rubocop
test:
runs-on: ubuntu-latest
strategy:
matrix:
ruby: ["2.7.7", "3.2.1"]
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- run: bundle exec rake test