Skip to content

upgrades timecop to support Ruby 3.1.4 #81

upgrades timecop to support Ruby 3.1.4

upgrades timecop to support Ruby 3.1.4 #81

Workflow file for this run

name: Tests
on: push
env:
SHA: ${{ github.sha }}
BRANCH: ${{ github.ref }}
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up Ruby 2.5.1
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.5.1
- name: Cache Gems
uses: actions/cache@v1
with:
path: vendor/bundle
key: ${{ runner.os }}-resource_registry-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: |
${{ runner.os }}-resource_registry-${{ hashFiles('**/Gemfile.lock') }}
- name: Install Gems
run: |
gem update --system
gem install bundler -v '2.0.2'
bundle config path vendor/bundle
bundle install --jobs 4 --retry 3
- name: Run RSpec
run: |
bundle exec rspec
- name: Run Rubocop
run: |
bundle exec rubocop