We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b3947e commit c2a8e11Copy full SHA for c2a8e11
.github/workflows/samples-ruby.yaml
@@ -26,8 +26,19 @@ jobs:
26
- samples/client/petstore/ruby-faraday/
27
- samples/client/petstore/ruby-httpx/
28
- samples/client/petstore/ruby-autoload/
29
+ services:
30
+ petstore-api:
31
+ image: swaggerapi/petstore
32
+ ports:
33
+ - 80:8080
34
+ env:
35
+ SWAGGER_HOST: http://petstore.swagger.io
36
+ SWAGGER_BASE_PATH: /v2
37
steps:
38
- uses: actions/checkout@v5
39
+ - name: Add hosts to /etc/hosts
40
+ run: |
41
+ sudo echo "127.0.0.1 petstore.swagger.io" | sudo tee -a /etc/hosts
42
- uses: ruby/setup-ruby@v1
43
with:
44
ruby-version: '3.2' # Not needed with a .ruby-version, .tool-versions or mise.toml
0 commit comments