Skip to content

Merge pull request #31 from amatsuda/exclude_spec_files_from_gem_package #12

Merge pull request #31 from amatsuda/exclude_spec_files_from_gem_package

Merge pull request #31 from amatsuda/exclude_spec_files_from_gem_package #12

Workflow file for this run

name: specs
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
permissions:
contents: read
jobs:
run:
runs-on: ubuntu-latest
strategy:
matrix:
ruby-version: ['3.1', '3.2', '3.3']
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
# To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
# change this to (see https://github.com/ruby/setup-ruby#versioning):
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- name: Run tests
run: bundle exec rake spec