Skip to content

ruby

ruby #373

Workflow file for this run

name: ruby
on:
push:
pull_request:
branches:
- master
schedule:
- cron: '0 1 * * SUN'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby-version: [ '2.6', '2.7', '3.0', '3.1', '3.2', 'ruby-head' ]
name: ruby ${{ matrix.ruby-version }}
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true
- name: Install dependencies
run: bundle install
- name: Lint files
run: bundle exec rubocop
- name: Test with Rake
run: bundle exec rake