Skip to content

Add object.replace method #105

Add object.replace method

Add object.replace method #105

Workflow file for this run

name: Tests
on:
pull_request:
branches:
- "*"
push:
branches:
- master
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
ruby: ["2.7", "3.0", "3.1", "3.2"]
steps:
- uses: actions/checkout@master
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler: default
bundler-cache: true
- name: StandardRb check
run: bundle exec standardrb --format progress --format github --color
- name: Run tests
run: |
bundle exec rspec
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2
bundler: default
bundler-cache: true
- name: Build docs
run: bundle exec rake yard