Skip to content

Remove macOS 12 from workflow #70

Remove macOS 12 from workflow

Remove macOS 12 from workflow #70

Workflow file for this run

name: Ruby CI
on:
pull_request:
push:
branches: [main]
workflow_dispatch:
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: ruby/setup-ruby@a2bbe5b1b236842c1cb7dd11e8e3b51e0a616acc # v1.202.0
with:
ruby-version: '3.3'
rubygems: latest
bundler: 2
bundler-cache: true
- run: bundle exec standardrb
required-ubuntu:
name: Ruby ${{ matrix.ruby }} - ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-20.04
- ubuntu-22.04
- ubuntu-24.04
ruby:
- '3.1'
- '3.2'
- '3.3'
- truffleruby
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: ruby/setup-ruby@a2bbe5b1b236842c1cb7dd11e8e3b51e0a616acc # v1.202.0
with:
ruby-version: ${{ matrix.ruby }}
rubygems: latest
bundler: 2
bundler-cache: true
- run: bundle exec ruby -S rake test --trace
required-macos:
name: Ruby ${{ matrix.ruby }} - ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- macos-13
- macos-14
- macos-15
ruby:
- '3.1'
- '3.2'
- '3.3'
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: ruby/setup-ruby@a2bbe5b1b236842c1cb7dd11e8e3b51e0a616acc # v1.202.0
with:
ruby-version: ${{ matrix.ruby }}
rubygems: latest
bundler: 2
bundler-cache: true
- run: bundle exec ruby -S rake test --trace
required-windows:
name: Ruby ${{ matrix.ruby }} - ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- windows-2019
- windows-2022
ruby:
- '3.1'
- '3.2'
- '3.3'
- mswin
- ucrt
include:
- ruby: mingw
os: windows-2022
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: ruby/setup-ruby@a2bbe5b1b236842c1cb7dd11e8e3b51e0a616acc # v1.202.0
with:
ruby-version: ${{ matrix.ruby }}
rubygems: latest
bundler: 2
bundler-cache: true
- run: bundle exec ruby -S rake test --trace
ruby-head-optional:
name: Ruby ${{ matrix.ruby }} - ${{ matrix.os }} (optional)
strategy:
fail-fast: false
matrix:
ruby:
- head
os:
- macos-latest
- ubuntu-latest
- windows-latest
continue-on-error: true
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: ruby/setup-ruby@a2bbe5b1b236842c1cb7dd11e8e3b51e0a616acc # v1.202.0
with:
ruby-version: ${{ matrix.ruby }}
rubygems: latest
bundler: 2
bundler-cache: true
- run: bundle exec ruby -S rake test --trace