Skip to content

Commit b7e8966

Browse files
committed
.
1 parent 7f2ea3f commit b7e8966

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/example.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
jobs:
77
build:
88
runs-on: ubuntu-latest
9+
defaults:
10+
run:
11+
working-directory: examples
912

1013
steps:
1114
- uses: actions/checkout@v3
@@ -20,4 +23,4 @@ jobs:
2023
run: dotnet tool install --global Wiremock.OpenAPIValidator
2124
- name: Run Validator
2225
run: |
23-
wiremockopenapi -o "/examples/openapi/openapi.yml" -w "/example/wiremock/mappings"
26+
wiremockopenapi -o "./openapi/openapi.yml" -w "./wiremock/mappings"

src/Wiremock.OpenAPIValidator/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ static async Task<int> Main(string[] args)
3939

4040
if (string.IsNullOrEmpty(wireMockPath) || string.IsNullOrEmpty(openApiPath))
4141
{
42-
return 0;
42+
return 1;
4343
}
4444

4545

0 commit comments

Comments
 (0)