Skip to content

Merge pull request #125 from synyx/124-minimum-time #285

Merge pull request #125 from synyx/124-minimum-time

Merge pull request #125 from synyx/124-minimum-time #285

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
name: "Build & Test"
runs-on: ubuntu-latest
strategy:
matrix:
ruby: [2.7, 3.0, 3.3]
steps:
- name: Checkout source code
uses: actions/checkout@v3
with:
fetch-depth: 0 # for bin/rubocop_changes
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Recreate Ruby Bundler cache
uses: actions/cache@v3
with:
path: vendor/bundle
key: ${{ runner.os }}-bundler-${{ hashFiles('**/Gemfile*') }}
restore-keys: |
${{ runner.os }}-bundler-
- name: Install dependencies
run: bundle install --path ./vendor/bundle
- name: Run tests
run: bundle exec rspec