mirror of
https://github.com/PaulHatch/semantic-version.git
synced 2025-12-29 05:48:17 +00:00
Add syntax highlighting
This commit is contained in:
parent
124679ea79
commit
5447a3c144
2 changed files with 2 additions and 2 deletions
|
|
@ -23,7 +23,7 @@ To get started simply:
|
||||||
|
|
||||||
The src/main.test.ts file contains integration tests that validate all the features of this action, to add a new test case simply add a new function to the bottom of this file.
|
The src/main.test.ts file contains integration tests that validate all the features of this action, to add a new test case simply add a new function to the bottom of this file.
|
||||||
|
|
||||||
```
|
```typescript
|
||||||
test('Name of test goes here', async () => {
|
test('Name of test goes here', async () => {
|
||||||
// This method creates a test repository in your temp directory, the repo
|
// This method creates a test repository in your temp directory, the repo
|
||||||
// object returned provides methods to interact with the repository
|
// object returned provides methods to interact with the repository
|
||||||
|
|
|
||||||
|
|
@ -167,7 +167,7 @@ This history is required to determine the version correctly. To include the hist
|
||||||
and tags, specify the fetch-depth parameter in your checkout action declaration. Specify
|
and tags, specify the fetch-depth parameter in your checkout action declaration. Specify
|
||||||
zero to pull the full history and tags.
|
zero to pull the full history and tags.
|
||||||
|
|
||||||
```
|
```yaml
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue