Skip to content

Commit

Permalink
Add Ruby 3.0 to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
joeldrapper committed Aug 18, 2022
1 parent 98efb61 commit 1cd7215
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,33 @@ jobs:
specs:
runs-on: ubuntu-latest

strategy:
matrix:
ruby-version: ['3.0', '3.1']

steps:
- uses: actions/checkout@v3

- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: "3.1"
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true

- name: Run specs
run: bundle exec rspec

docs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: "3.1"
bundler-cache: true

- name: Build docs
run: bundle exec docs/build.rb

0 comments on commit 1cd7215

Please sign in to comment.