Skip to content

Update and add Ruby 3.3 #8

Update and add Ruby 3.3

Update and add Ruby 3.3 #8

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
jobs:
ci:
name: ${{ matrix.ruby-version }} ${{ matrix.friendlyName }}-${{ matrix.arch }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
ruby-version:
- "2.7"
- "3.0"
- "3.1"
- "3.2"
- "3.3"
os:
- ubuntu-latest
- macos-latest
- windows-latest
arch:
- x64
include:
- os: ubuntu-latest
friendlyName: Linux
- os: macos-latest
friendlyName: macOS
- os: windows-latest
friendlyName: Windows
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Ruby and install bundle
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true
- name: Compile and run test
run: bundle exec rake
- name: Upload coverage results
if: matrix.ruby-version == '3.2'
continue-on-error: true
uses: coverallsapp/github-action@v2
with:
github-token: ${{ github.token }}