Skip to content

Drop Ruby 2.7

Drop Ruby 2.7 #572

Workflow file for this run

name: Ruby
on:
push:
pull_request:
workflow_dispatch:
schedule:
# # This job runs at 00:00 on Friday.
- cron: '0 15 * * 5'
jobs:
ruby-versions:
uses: ruby/actions/.github/workflows/ruby_versions.yml@master
with:
engine: cruby-truffleruby
min_version: 3.0
build:
needs: ruby-versions
name: build (${{ matrix.ruby }})
strategy:
fail-fast: false
matrix:
ruby: ${{ fromJson(needs.ruby-versions.outputs.versions) }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Bundle install
run: |
bundle install
- run: bundle exec typeprof --version
- name: Run the test suite
run: |
bundle exec rake TESTOPT=-v
if: ${{ !startsWith(matrix.ruby, 'truffle') }}