Skip to content

Merge pull request #28 from ruby/dependabot/github_actions/ruby/setup… #101

Merge pull request #28 from ruby/dependabot/github_actions/ruby/setup…

Merge pull request #28 from ruby/dependabot/github_actions/ruby/setup… #101

Workflow file for this run

name: ubuntu
on: [push, pull_request]
jobs:
ruby-versions:
uses: ruby/actions/.github/workflows/ruby_versions.yml@master
with:
engine: cruby
min_version: 2.4
test:
needs: ruby-versions
name: build (${{ matrix.ruby }} / ${{ matrix.os }})
strategy:
matrix:
ruby: ${{ fromJson(needs.ruby-versions.outputs.versions) }}
os: [ ubuntu-latest, macos-latest ]
exclude:
- ruby: 2.4
os: macos-latest
- ruby: 2.5
os: macos-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Set up Ruby
uses: ruby/setup-ruby@0481980f17b760ef6bca5e8c55809102a0af1e5a # v1.263.0
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Run test
run: bundle exec rake test