Skip to content

Commit

Permalink
Test with Ruby 3.2 and below
Browse files Browse the repository at this point in the history
  • Loading branch information
makicamel committed Oct 10, 2023
1 parent dbdf27c commit d55283d
Showing 1 changed file with 12 additions and 17 deletions.
29 changes: 12 additions & 17 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,22 @@
name: Ruby

on:
push:
branches:
- main

pull_request:
on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
name: Ruby ${{ matrix.ruby }}
strategy:
matrix:
ruby:
- '3.2.2'
os: [ubuntu-latest, macos-latest]
ruby: [2.7, 3.0, 3.1, 3.2, head]

steps:
- uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Run the default task
run: bundle exec rake
- uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Run the default task
run: bundle exec rake

0 comments on commit d55283d

Please sign in to comment.