Skip to content

Add support for validating text responses #308

Add support for validating text responses

Add support for validating text responses #308

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', '7.1', '7.2']
json_schemer: ['2.0', '2.1', '2.2', '2.3']
ruby: ['3.1', '3.2', '3.3']
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 }}-${{ matrix.json_schemer }}
env:
ACTIVESUPPORT: '${{ matrix.activesupport }}'
JSON_SCHEMER: '${{ matrix.json_schemer }}'
- 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: 3.3
bundler-cache: true
cache-version: '7.1'
- 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