Skip to content

Prepare release 2.1.0 #141

Prepare release 2.1.0

Prepare release 2.1.0 #141

Workflow file for this run

name: Pipeline
on:
pull_request:
branches:
- 'master'
push:
branches:
- 'master'
jobs:
# pre-spec
#
rubocop:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.2'
bundler-cache: true
- name: Run rubocop
run: bundle exec rubocop --parallel --format progress
rspec:
runs-on: ubuntu-latest
needs: ['rubocop']
env:
RACK_ENV: test
strategy:
matrix:
ruby-version: ['3.1', '3.2', head]
steps:
- uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true
- name: create tmp dir
run: mkdir tmp
- name: Run rspec
run: bundle exec rspec