1
0
Fork 0
mirror of https://github.com/fjogeleit/http-request-action.git synced 2024-12-23 12:46:14 +00:00
http-request-action/.github/workflows/test.yml

25 lines
504 B
YAML
Raw Normal View History

2020-04-21 11:44:56 +00:00
name: Test
on: [push, pull_request]
jobs:
request:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: ${{ github.ref }}
2020-04-21 11:55:30 +00:00
- name: Request Postment Echo GET
2020-04-21 11:44:56 +00:00
uses: ./
with:
2020-04-21 11:55:30 +00:00
url: 'https://postman-echo.com/get'
2020-04-21 11:44:56 +00:00
method: 'GET'
2020-04-21 11:58:56 +00:00
- name: Request Postment Echo POST
uses: ./
with:
url: 'https://postman-echo.com/post'
method: 'POST'
data: '{ "key": "value" }'