.github/workflows/main.yml
name: Ruby
on: [push,pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
ruby-version: ['2.7', '3.3']
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
- name: Run the default task
run: |
bundle install
bundle exec rake