Skip to content

Commit

Permalink
CI: Use Ruby 3.1+
Browse files Browse the repository at this point in the history
  • Loading branch information
olleolleolle authored Jun 24, 2024
1 parent f9def9c commit db88d69
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,19 @@ on:
branches: [ master ]

jobs:
test:
ruby-versions:
uses: ruby/actions/.github/workflows/ruby_versions.yml@master
with:
min_version: 3.1
engine: cruby

test:
needs: ruby-versions
runs-on: ubuntu-latest

strategy:
matrix:
ruby-version:
- 3.3
- 3.2
- 3.1
- "3.0"

ruby-version: ${{ fromJson(needs.ruby-versions.outputs.versions) }}
steps:
- uses: actions/checkout@v4
- name: Set up Ruby ${{ matrix.ruby-version }}
Expand Down

0 comments on commit db88d69

Please sign in to comment.