Skip to content

Update publish-gem.yml #79

Update publish-gem.yml

Update publish-gem.yml #79

Workflow file for this run

name: Build
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
ruby: ['3.1', '3.2', '3.3']
name: Test ruby v${{ matrix.ruby }} support
steps:
- uses: actions/checkout@v1
- name: Set up Ruby ${{ matrix.ruby }}
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Build with dependencies
run: |
gem install bundler -v 2.1
bundle install
- name: Test with rspec
run: |
bundle exec rspec spec/
- name: Lint with rubocop
run: |
bundle exec rubocop