Skip to content

refactor: backwards compaitbility for ruby 3.0 #7

refactor: backwards compaitbility for ruby 3.0

refactor: backwards compaitbility for ruby 3.0 #7

Workflow file for this run

name: Tests
on:
pull_request:
push:
branches:
- main
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
ruby: [ "3.0", "3.1", "3.2" ]
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler: default
bundler-cache: true
- name: Run tests
run: |
bundle exec rake
linters:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2
bundler: default
bundler-cache: true
- name: rubocop check
run: |
bundle exec rubocop