From 4c72705316cb98b89b41631ae5782ccbd244acae Mon Sep 17 00:00:00 2001 From: Safiire <366460+safiire@users.noreply.github.com> Date: Fri, 31 Jul 2026 15:11:34 -0700 Subject: [PATCH] Fixed for Ruby 4 (#6) * Fixed for Ruby 4, changed OpenStruct to data, fixed tests, updated minimum ruby version to 3.2 for use of Data.define * Update CI * Lets test ruby 3 and 4, and ubuntu and osx * Let's do the fancy verbose rspec output --- .github/workflows/ci.yml | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4276a6f..6043ef2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,13 +8,20 @@ on: jobs: test: - runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + os: [ubuntu-latest, macos-latest] + ruby: ['3.2', '4.0'] + + runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v6 - name: Set up Ruby - uses: ruby/setup-ruby@ec106b438a1ff6ff109590de34ddc62c540232e0 + uses: ruby/setup-ruby@v1 with: - ruby-version: 2.6 + ruby-version: ${{ matrix.ruby }} + bundler-cache: true - name: Install dependencies run: bundle install - name: Run tests