Skip to content

Bump actions/checkout from 4.2.0 to 4.2.2 (#1726) #1453

Bump actions/checkout from 4.2.0 to 4.2.2 (#1726)

Bump actions/checkout from 4.2.0 to 4.2.2 (#1726) #1453

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.2, 3.3]
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- name: Set up Ruby
uses: ruby/setup-ruby@c04af2bb7258bb6a03df1d3c1865998ac9390972
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