-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/main' into main
- Loading branch information
Showing
1 changed file
with
15 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
|
||
A GitHub action for syntax checking [fish shell](https://fishshell.com) files. | ||
|
||
<img src="example.png" width="800"> | ||
<img src="example.png"> | ||
|
||
## Prerequisites | ||
|
||
|
@@ -20,7 +20,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Syntax check | ||
uses: fish-shop/[email protected].0 | ||
uses: fish-shop/[email protected].1 | ||
``` | ||
By default, all files under `$GITHUB_WORKSPACE` with a `.fish` file extension are checked. To specify a different file pattern to match against provide a value for the `pattern` input. For example, to check all `.fish` files in the `src` directory of your repository: | ||
|
@@ -29,11 +29,23 @@ By default, all files under `$GITHUB_WORKSPACE` with a `.fish` file extension ar | |
... | ||
steps: | ||
- name: Syntax check | ||
uses: fish-shop/[email protected].0 | ||
uses: fish-shop/[email protected].1 | ||
with: | ||
pattern: src/**.fish | ||
``` | ||
|
||
Multiple `pattern` values are also supported: | ||
|
||
```yaml | ||
... | ||
steps: | ||
- name: Syntax check | ||
uses: fish-shop/[email protected] | ||
with: | ||
pattern: conf.d/**.fish functions/pond.fish completions/**.fish | ||
``` | ||
|
||
|
||
## Acknowledgements | ||
|
||
* This project was inspired by [fish-actions/syntax-check](https://github.com/fish-actions/syntax-check). | ||
|