File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed
Examples/HelloWorldWithResources/Sources/resources Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change 21
21
example :
22
22
- Examples/HelloWorldVapor
23
23
- Examples/HelloWorldHummingbird
24
+ - Examples/HelloWorldWithResources
24
25
steps :
25
26
- name : Checkout repository
26
27
uses : actions/checkout@v4
55
56
56
57
- name : Check that the service is running
57
58
run : |
58
- curl -v localhost:8080 | grep "Hello World"
59
+ # The curious combination of --verbose and --silent causes
60
+ # curl to print the request and response (--verbose) but not
61
+ # the transmission progress messages (--silent).
62
+ #
63
+ # --fail-with-body causes curl to exit with a nonzero exit code
64
+ # if the HTTP response code is >= 400. Without this flag, curl
65
+ # only returns a nonzero exit code if something went wrong while
66
+ # connecting to the server - a successful HTTP transaction which
67
+ # indicates a server error is still considered to be a successful
68
+ # transaction.
69
+ curl --verbose --silent --output /dev/null --fail-with-body localhost:8080
You can’t perform that action at this time.
0 commit comments