Skip to content

Merge pull request #121 from ruby/dependabot/github_actions/actions/c… #137

Merge pull request #121 from ruby/dependabot/github_actions/actions/c…

Merge pull request #121 from ruby/dependabot/github_actions/actions/c… #137

Workflow file for this run

name: test
on: [push, pull_request]
jobs:
build:
name: build (${{ matrix.ruby }} / ${{ matrix.os }})
strategy:
matrix:
ruby: [ 3.2, 3.1, "3.0", 2.7, 2.6, 2.5, 2.4, head ]
os: [ ubuntu-latest, macos-latest ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true # 'bundle install' and cache
- name: Run test
run: bundle exec rake test