Skip to content

Bump ruby/setup-ruby from 1.288.0 to 1.299.0 (#1829) #1752

Bump ruby/setup-ruby from 1.288.0 to 1.299.0 (#1829)

Bump ruby/setup-ruby from 1.288.0 to 1.299.0 (#1829) #1752

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-24.04
ruby-version: [3.2, 3.3]
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
- name: Set up Ruby
uses: ruby/setup-ruby@3ff19f5e2baf30647122352b96108b1fbe250c64
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