Skip to content

Commit

Permalink
Merge pull request #15 from envato/ci-rubies
Browse files Browse the repository at this point in the history
CI: test against latest Ruby versions (3.1, 3.2, and 3.3)
  • Loading branch information
orien committed Jan 24, 2024
2 parents 8a71e02 + df57d0d commit 9799a3b
Showing 1 changed file with 5 additions and 12 deletions.
17 changes: 5 additions & 12 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,16 @@
name: Test

on: [push, pull_request]

jobs:
test:
strategy:
fail-fast: false
matrix:
ruby: ["2.5", "2.6", "2.7", "3.0"]
ruby: ["2.5", "2.6", "2.7", "3.0", "3.1", "3.2", "3.3"]
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Install dependencies
run: bundle install
- name: Run tests
run: bundle exec rake
bundler-cache: true
- run: bundle exec rake

0 comments on commit 9799a3b

Please sign in to comment.