Skip to content

Add more ruby versions to CI #68

Add more ruby versions to CI

Add more ruby versions to CI #68

Workflow file for this run

name: Ruby
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
name: Ruby ${{ matrix.ruby }}
strategy:
matrix:
ruby: [2.7, 3.0, 3.1, 3.2, "head"]
continue-on-error: ${{ matrix.ruby == 'head' }}
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Run the default task
run: bundle exec rake
- name: Linter
run: bundle exec standardrb