Skip to content

Commit 64865db

Browse files
committed
docs: minor format update
1 parent 643f099 commit 64865db

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ To store and let GitHub Actions know how to run your workflows, you need to unde
9696
```yaml
9797
on:
9898
push:
99+
pull_request:
99100
```
100101

101102
- Lists: List items are denoted by a hyphen and a space (`- item`). It can also be defined in-line using square brackets (`[item1, item2]`).
@@ -118,8 +119,8 @@ To store and let GitHub Actions know how to run your workflows, you need to unde
118119
steps:
119120
- name: Checkout Repo
120121
uses: actions/checkout@v4
121-
- name: Set up Python
122-
uses: actions/setup-python@v4
122+
- name: Run tests
123+
run: pytest -q
123124
```
124125

125126
If we convert the above to JSON, it would look like this:
@@ -131,8 +132,8 @@ To store and let GitHub Actions know how to run your workflows, you need to unde
131132
"uses": "actions/checkout@v4"
132133
},
133134
{
134-
"name": "Set up Python",
135-
"uses": "actions/setup-python@v4"
135+
"name": "Run tests",
136+
"run": "pytest -q"
136137
}
137138
]
138139
```

0 commit comments

Comments
 (0)