Skip to content

Bump actions/checkout from 4 to 5 #8

Bump actions/checkout from 4 to 5

Bump actions/checkout from 4 to 5 #8

Workflow file for this run

name: Test
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
ruby: [ '3.2', '3.1', '3.0', '2.7' ]
os: [ 'ubuntu-latest', 'macOS-latest', 'windows-latest' ]
# It should be removed after RubyInstaller 3.2 is available on setup-ruby
exclude:
- os: windows-latest
ruby: 3.2
name: Ruby ${{ matrix.ruby }} unit testing on ${{ matrix.os }}
steps:
- uses: actions/checkout@v5
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: unit testing
env:
CI: true
run: |
gem install bundler rake
bundle install --jobs 4 --retry 3
bundle exec rake test