Skip to content

Example Workflow

Example Workflow #30

Workflow file for this run

name: Example Workflow
on:
schedule:
- cron: "0 0 * * MON"
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: examples
steps:
- uses: actions/checkout@v3
with:
# Disabling shallow clone is recommended for improving relevancy of reporting
fetch-depth: 0
- name: Setup .NET
uses: actions/setup-dotnet@v2
with:
dotnet-version: 6.0.x
- name: Install Wiremock OpenAPI Validator Tool
run: dotnet tool install --global Wiremock.OpenAPIValidator
- name: Run Validator
run: |
wiremockopenapi -o "./openapi/openapi.yaml" -w "./wiremock/mappings"