Skip to content

fix: build issue with 1.0.1 #63

fix: build issue with 1.0.1

fix: build issue with 1.0.1 #63

Workflow file for this run

name: Ruby CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
ruby-version: ["3.0", "3.1"]
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true
- name: Ruby version
run: ruby -v
- name: Bundle config
run: bundle config set --local deployment true
- name: Bundle install
run: bundle install -j $(nproc)
- name: Run RSpec
run: bundle exec rspec
- name: Build the gem
run: bundle exec rake build
- name: Install the gem
run: bundle exec rake install
- name: Test the gem
run: ruby -Ilib example.rb