Skip to content

Commit c3e6108

Browse files
committed
Update README.md
1 parent c018071 commit c3e6108

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
![](https://github.com/scanapi/design/raw/master/images/github-hero-dark.png)
2+
13
# ScanaAPI
24
An action that allows developers to run ScanAPI using github actions.
35

@@ -15,7 +17,7 @@ The following will take the yaml file and produce a scanapi-report.html file as
1517
- name: Run automated API tests
1618
uses: scanapi/github-action@v1
1719
with:
18-
arguments: 'scanapi.yaml'
20+
arguments: 'run ./scanapi.yaml'
1921
```
2022
2123
## Example workflow
@@ -32,13 +34,14 @@ jobs:
3234
scanapi:
3335
runs-on: ubuntu-latest
3436
steps:
35-
- uses: actions/checkout@master
37+
- uses: actions/checkout@v2
3638
- name: Run automated API tests
3739
uses: scanapi/github-action@v1
3840
with:
3941
arguments: "run ./scanapi.yaml"
4042
- name: Upload scanapi-report.html
4143
uses: actions/upload-artifact@v2
44+
if: ${{ always() }}
4245
with:
4346
name: ScanAPI Report
4447
path: scanapi-report.html

0 commit comments

Comments
 (0)