Skip to content

Add Ruby 3.2 to the CI matrix. Upgrade checkout action version. #6

Add Ruby 3.2 to the CI matrix. Upgrade checkout action version.

Add Ruby 3.2 to the CI matrix. Upgrade checkout action version. #6

Workflow file for this run

name: Build
on: [ push, pull_request, workflow_dispatch ]
jobs:
test:
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest, macos-latest ]
ruby: [ '2.7', '3.0', '3.1', '3.2' ]
runs-on: ${{ matrix.os }}
steps:
- name: Check out repository
uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- name: Run checks
run: bundle exec rake
- name: Upload artifacts
if: ${{ always() }}
uses: actions/upload-artifact@v3
with:
name: artifacts
path: artifacts/**