Skip to content

fix: added fix to validate for top-level type in parameter schemas while using oneOf in request-validator plugin. #546

fix: added fix to validate for top-level type in parameter schemas while using oneOf in request-validator plugin.

fix: added fix to validate for top-level type in parameter schemas while using oneOf in request-validator plugin. #546

Workflow file for this run

name: Test
concurrency:
# for PR's cancel the running task, if another commit is pushed
group: ${{ github.workflow }} ${{ github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
on:
push:
branches:
- main
pull_request:
types:
- opened
- ready_for_review
- synchronize
jobs:
go-test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '^1.20'
- name: Set up ginkgo
run: go install github.com/onsi/ginkgo/v2/ginkgo
- name: Run Tests
run: make test
- name: Run tests with Coverage
run: make coverage
- name: Upload Code Coverage
uses: codecov/codecov-action@v4
with:
name: codecov
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: false