IE-517 Ruby 3.0.6 Compatibility #2
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: CI | |
on: [pull_request] | |
jobs: | |
rspec: | |
runs-on: ubuntu-latest | |
environment: test | |
container: | |
image: ruby:3.0.6 | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Gem cache | |
id: cache-bundle | |
uses: actions/cache@v1 | |
with: | |
path: vendor/bundle | |
key: bundle-${{ hashFiles('**/Gemfile.lock') }} | |
- name: Bundle install | |
env: | |
RAILS_ENV: test | |
run: | | |
gem install bundler | |
bundle install | |
- name: Run tests | |
env: | |
RAILS_ENV: test | |
run: | | |
bundle exec rspec |