Skip to content

fixes

fixes #1

Workflow file for this run

name: Tests
on: [push, pull_request]
concurrency:
group: ci-${{github.actor}}-${{github.head_ref || github.run_number}}-${{github.ref}}-runner
cancel-in-progress: true
jobs:
rubocop:
strategy:
fail-fast: true
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.3.0'
bundler-cache: true
- name: rspec
run: |
bundle exec rubocop
rspec:
strategy:
fail-fast: true
matrix:
os: [ubuntu-latest, macos-latest]
ruby: ['3.0', '3.1', '3.2', '3.3']
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: rspec
run: |
bundle exec rspec