Skip to content

Commit

Permalink
Add workflow for Ruby 3.1, 3.2 and 3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Souravgoswami committed Sep 25, 2024
1 parent 69acd4b commit 710711e
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,39 @@ jobs:
run: rake compile
- name: Run tests
run: rake test

- uses: actions/checkout@v4
- name: Test LibmagicRb with Ruby 3.1
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.1
- name: Install dependencies
run: bundle install
- name: Run rake compile
run: rake compile
- name: Run tests
run: rake test

- uses: actions/checkout@v4
- name: Test LibmagicRb with Ruby 3.2
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2
- name: Install dependencies
run: bundle install
- name: Run rake compile
run: rake compile
- name: Run tests
run: rake test

- uses: actions/checkout@v4
- name: Test LibmagicRb with Ruby 3.3
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.3
- name: Install dependencies
run: bundle install
- name: Run rake compile
run: rake compile
- name: Run tests
run: rake test

0 comments on commit 710711e

Please sign in to comment.