-
Notifications
You must be signed in to change notification settings - Fork 159
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add support for Windows to update-checks-doc script
- Loading branch information
Showing
9 changed files
with
140 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
49 changes: 49 additions & 0 deletions
49
scripts/update-checks-doc/testdata/ok/skip_output_on_windows.in
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
<a id="hello"></a> | ||
## Hello | ||
|
||
Example input: | ||
|
||
```yaml | ||
on: push | ||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- run: echo ${{ unknown }} | ||
``` | ||
|
||
Output: | ||
<!-- Skip update output on Windows --> | ||
|
||
``` | ||
This section will NOT be updated | ||
``` | ||
|
||
[Playground](URL_WILL_BE_GENERATED) | ||
|
||
Skip updating the output. | ||
|
||
<a id="hello2"></a> | ||
## Hello 2 | ||
|
||
Example input: | ||
|
||
```yaml | ||
on: push | ||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- run: echo ${{ unknown }} | ||
``` | ||
|
||
Output: | ||
<!-- Skip update output on Windows --> | ||
|
||
``` | ||
This section will NOT be updated | ||
``` | ||
|
||
[Playground](URL_WILL_BE_GENERATED) | ||
|
||
Skip updating the output. |
49 changes: 49 additions & 0 deletions
49
scripts/update-checks-doc/testdata/ok/skip_output_on_windows.out
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
<a id="hello"></a> | ||
## Hello | ||
|
||
Example input: | ||
|
||
```yaml | ||
on: push | ||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- run: echo ${{ unknown }} | ||
``` | ||
|
||
Output: | ||
<!-- Skip update output --> | ||
|
||
``` | ||
This section will NOT be updated | ||
``` | ||
|
||
[Playground](https://rhysd.github.io/actionlint/#eNokyjEOhSAQRdGeVbzit2yA3XwMCVEzQ5x5sSDs3YxWtzhXpWDQetq1WkmAN/MocFEsh7NSnPn8h71k3oZ9F5DjLGhbV/zmBOUQvQVrPQEAAP//SLkdHQ==) | ||
|
||
Skip updating the output. | ||
|
||
<a id="hello2"></a> | ||
## Hello 2 | ||
|
||
Example input: | ||
|
||
```yaml | ||
on: push | ||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- run: echo ${{ unknown }} | ||
``` | ||
|
||
Output: | ||
<!-- Skip update output --> | ||
|
||
``` | ||
This section will NOT be updated | ||
``` | ||
|
||
[Playground](https://rhysd.github.io/actionlint/#eNokyjEOhSAQRdGeVbzit2yA3XwMCVEzQ5x5sSDs3YxWtzhXpWDQetq1WkmAN/MocFEsh7NSnPn8h71k3oZ9F5DjLGhbV/zmBOUQvQVrPQEAAP//SLkdHQ==) | ||
|
||
Skip updating the output. |