Skip to content

Add Ruby version 4.0.1 to branch protection workflow #68

Add Ruby version 4.0.1 to branch protection workflow

Add Ruby version 4.0.1 to branch protection workflow #68

name: branch-protection
on:
pull_request:
branches:
- main
permissions:
contents: read
jobs:
test:
strategy:
matrix:
os:
- ubuntu-latest
- macos-latest
- ubuntu-24.04-arm
ruby:
- 3.2.8
- 3.3.8
- 3.4.4
- 4.0.1
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8
- uses: ruby/setup-ruby@8d27f39a5e7ad39aebbcbd1324f7af020229645c
with:
ruby-version: ${{ matrix.ruby }}
- run: gem install bundler --no-document
- run: bundle
- run: rake