Skip to content

Use request & response in a rack compatible way #179

Use request & response in a rack compatible way

Use request & response in a rack compatible way #179

Workflow file for this run

name: Push & PR
on:
pull_request:
types: [opened, synchronize, reopened]
push:
branches: [main]
jobs:
rspec:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
activesupport: ['6.1', '7.0']
ruby: ['2.7', '3.0', '3.1', '3.2']
steps:
- uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
cache-version: ${{ matrix.activesupport }}
env:
ACTIVESUPPORT: ${{ matrix.activesupport }}
- name: Rspec
run: bundle exec rspec
rubocop:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
bundler-cache: true
cache-version: '7.0'
- name: Rubocop
run: bundle exec rubocop
openapi:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Validate openapi fixture
run: npx @redocly/openapi-cli lint spec/fixtures/openapi/openapi.yaml