1.0.1 (#7) #51
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |