From 60da2060ed1139fca57878ebe9f4a0c540d2eeb8 Mon Sep 17 00:00:00 2001 From: Marc Ransome Date: Sun, 23 May 2021 14:59:01 +0100 Subject: [PATCH 1/3] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6ac184f..1c15cb5 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ A GitHub action for syntax checking [fish shell](https://fishshell.com) files. - + ## Prerequisites From c197086c34fd7e04453b411927cd68d9a4c5c36a Mon Sep 17 00:00:00 2001 From: Marc Ransome Date: Sun, 23 May 2021 14:59:17 +0100 Subject: [PATCH 2/3] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1c15cb5..db34307 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Syntax check - uses: fish-shop/syntax-check@1.0.0 + uses: fish-shop/syntax-check@1.0.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,7 +29,7 @@ By default, all files under `$GITHUB_WORKSPACE` with a `.fish` file extension ar ... steps: - name: Syntax check - uses: fish-shop/syntax-check@1.0.0 + uses: fish-shop/syntax-check@1.0.1 with: pattern: src/**.fish ``` From 2e81113864ae1a59305f26400a7a92227e34603c Mon Sep 17 00:00:00 2001 From: Marc Ransome Date: Sun, 23 May 2021 15:05:00 +0100 Subject: [PATCH 3/3] Update README.md --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index db34307..017c9d9 100644 --- a/README.md +++ b/README.md @@ -34,6 +34,18 @@ steps: pattern: src/**.fish ``` +Multiple `pattern` values are also supported: + +```yaml +... +steps: + - name: Syntax check + uses: fish-shop/syntax-check@1.0.1 + 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).