Skip to content

chore: latency histograms for Snyk #309

chore: latency histograms for Snyk

chore: latency histograms for Snyk #309

Workflow file for this run

name: CI
on:
pull_request:
branches:
- '*'
workflow_dispatch: # allow this workflow to be called by other workflows
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
jobs:
integration-tests:
runs-on: ubuntu-latest
name: Integration Tests
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up graalVM
uses: graalvm/setup-graalvm@v1
with:
version: 'latest'
java-version: '17'
components: 'native-image'
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Run integration tests
run: |
./mvnw verify -Pnative
openapi-lint-checks:
runs-on: ubuntu-latest
name: OpenAPI Linter
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- run: npx @redocly/cli lint api-spec/v3/openapi.yaml
openapi-validation:
runs-on: ubuntu-latest
name: Validate OpenAPI Spec
steps:
- uses: actions/checkout@v3
- name: Validate OpenAPI definition
uses: char0n/swagger-editor-validate@v1
with:
definition-file: api-spec/v3/openapi.yaml