Skip to content

Bump ruby/setup-ruby from 1.154.0 to 1.155.0 (#1581) #1082

Bump ruby/setup-ruby from 1.154.0 to 1.155.0 (#1581)

Bump ruby/setup-ruby from 1.154.0 to 1.155.0 (#1581) #1082

name: Exercise tests
on:
workflow_dispatch:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
name: Ruby ${{ matrix.ruby-version }} - ${{ matrix.os }} - ${{ github.event_name }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-20.04
ruby-version: [3.0, 3.1, 3.2]
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@d37167af451eb51448db3354e1057b75c4b268f7
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true
- name: Lint
run: bundle exec rubocop -fs --except Metrics --config .rubocop.yml
- name: Test exercises
run: bundle exec rake test