Skip to content

Commit 67ae687

Browse files
committed
implement fixes
1 parent 3f84a08 commit 67ae687

7 files changed

Lines changed: 28 additions & 11 deletions

.github/workflows/samples-clojure.yaml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ jobs:
2525
# Action inputs don't support arrays, so this is a newline-delimited string parsed in the action script.
2626
# To add a new sample: add it here AND add a matching entry to the paths: trigger above.
2727
all_samples: |
28-
samples/client/petstore/clojure/
29-
80:8080
28+
samples/client/petstore/clojure
3029
3130
build:
3231
name: Build Clojure Client (JDK11)
@@ -36,6 +35,14 @@ jobs:
3635
strategy:
3736
fail-fast: false
3837
matrix: ${{ fromJson(needs.setup.outputs.matrix) }}
38+
services:
39+
petstore-api:
40+
image: swaggerapi/petstore
41+
ports:
42+
- 80:8080
43+
env:
44+
SWAGGER_HOST: http://petstore.swagger.io
45+
SWAGGER_BASE_PATH: /v2
3946
steps:
4047
- uses: actions/checkout@v5
4148
- name: Add hosts to /etc/hosts

.github/workflows/samples-cpp-httplib-server.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,10 @@ on:
55
# Determines whether this workflow fires at all. Keep in sync with all_samples: in the setup job below.
66
paths:
77
- "samples/server/petstore/cpp-httplib-server/**"
8-
- ".github/workflows/samples-cpp-httplib-server.yaml"
98
pull_request:
109
# Determines whether this workflow fires at all. Keep in sync with all_samples: in the setup job below.
1110
paths:
1211
- "samples/server/petstore/cpp-httplib-server/**"
13-
- ".github/workflows/samples-cpp-httplib-server.yaml"
1412

1513
env:
1614
GRADLE_VERSION: 6.9

.github/workflows/samples-dotnet-standard.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,12 @@ on:
77
- samples/client/petstore/csharp/generichost/standard2.0/**
88
- samples/client/petstore/csharp/httpclient/standard2.0/**
99
- samples/client/petstore/csharp/restsharp/standard2.0/**
10-
- samples/client/petstore/csharp/unityWebRequest/standard2.0/**
1110
pull_request:
1211
# Determines whether this workflow fires at all. Keep in sync with all_samples: in the setup job below.
1312
paths:
1413
- samples/client/petstore/csharp/generichost/standard2.0/**
1514
- samples/client/petstore/csharp/httpclient/standard2.0/**
1615
- samples/client/petstore/csharp/restsharp/standard2.0/**
17-
- samples/client/petstore/csharp/unityWebRequest/standard2.0/**
1816
jobs:
1917
setup:
2018
runs-on: ubuntu-latest

.github/workflows/samples-go-client.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ jobs:
3535
# Action inputs don't support arrays, so this is a newline-delimited string parsed in the action script.
3636
# To add a new sample: add it here AND add a matching entry to the paths: trigger above.
3737
all_samples: |
38-
'samples/openapi3/client/petstore/go/go-petstore-aws-signature/'
39-
'samples/openapi3/client/petstore/go-petstore-withXml/'
38+
samples/openapi3/client/petstore/go/go-petstore-aws-signature
39+
samples/openapi3/client/petstore/go-petstore-withXml
4040
samples/openapi3/client/petstore/go-petstore-generateMarshalJSON-false/
4141
samples/client/others/go/allof_multiple_ref_and_discriminator/
4242
samples/client/others/go/oneof-anyof-required/

.github/workflows/samples-java-helidon-v4.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
- uses: actions/setup-java@v5
5050
with:
5151
distribution: 'temurin'
52-
java-version: ${{ matrix.version }}
52+
java-version: '21'
5353
- name: Cache maven dependencies
5454
uses: actions/cache@v5
5555
env:

.github/workflows/samples-java-petsore-client-jdk11.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ jobs:
4545
samples/client/petstore/java/okhttp-gson-3.1
4646
samples/client/petstore/java/okhttp-gson-dynamicOperations
4747
samples/client/petstore/java-micronaut-client
48-
80:8080
4948
5049
build:
5150
name: Build Java Client JDK11
@@ -55,6 +54,14 @@ jobs:
5554
strategy:
5655
fail-fast: false
5756
matrix: ${{ fromJson(needs.setup.outputs.matrix) }}
57+
services:
58+
petstore-api:
59+
image: swaggerapi/petstore
60+
ports:
61+
- 80:8080
62+
env:
63+
SWAGGER_HOST: http://petstore.swagger.io
64+
SWAGGER_BASE_PATH: /v2
5865
steps:
5966
- uses: actions/checkout@v5
6067
- name: Add hosts to /etc/hosts

.github/workflows/samples-java-petsore-client-jdk17.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ jobs:
2727
# To add a new sample: add it here AND add a matching entry to the paths: trigger above.
2828
all_samples: |
2929
samples/client/petstore/java/jersey3
30-
80:8080
3130
3231
build:
3332
name: Build Java Client JDK17
@@ -37,6 +36,14 @@ jobs:
3736
strategy:
3837
fail-fast: false
3938
matrix: ${{ fromJson(needs.setup.outputs.matrix) }}
39+
services:
40+
petstore-api:
41+
image: swaggerapi/petstore
42+
ports:
43+
- 80:8080
44+
env:
45+
SWAGGER_HOST: http://petstore.swagger.io
46+
SWAGGER_BASE_PATH: /v2
4047
steps:
4148
- uses: actions/checkout@v5
4249
- name: Add hosts to /etc/hosts

0 commit comments

Comments
 (0)