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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |