CI: Add new Ruby versions, use actions/checkout@v4 #16
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: [push, pull_request] | |
jobs: | |
build: | |
name: >- | |
${{ matrix.os }} ${{ matrix.ruby }} | |
runs-on: ${{ matrix.os }}-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ ubuntu, macos, windows ] | |
ruby: [ 2.7, '3.0', 3.1, 3.2, 3.3, 3.4, head ] | |
include: | |
- { os: windows , ruby: mingw } | |
- { os: windows , ruby: ucrt } | |
- { os: windows , ruby: mswin } | |
exclude: | |
- { os: windows , ruby: head } | |
steps: | |
- name: repo checkout | |
uses: actions/checkout@v4 | |
- name: load ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
- name: run check.rb | |
run: | | |
ruby check.rb |