Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: "Test shellcheck problem matchers"
on:
pull_request:
push:
branches: [ master ]
branches: [ main ]

jobs:
lint:
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Testing problem matchers locally

Since GitHub Actions are functionally very similar to [VS Code's problem matchers](https://code.visualstudio.com/Docs/editor/tasks#_defining-a-problem-matcher) (outside of some [exceptions](https://github.com/actions/runner/blob/master/docs/adrs/0276-problem-matchers.md#where-we-diverge-from-vscode)), we can use VS Code locally to quickly test the matcher patterns.
Since GitHub Actions are functionally very similar to [VS Code's problem matchers](https://code.visualstudio.com/Docs/editor/tasks#_defining-a-problem-matcher) (outside of some [exceptions](https://github.com/actions/runner/blob/main/docs/adrs/0276-problem-matchers.md#where-we-diverge-from-vscode)), we can use VS Code locally to quickly test the matcher patterns.

1. Make sure VS Code `.vscode/tasks.json` file is in sync with actual problem matchers
```bash
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ This currently supports the `gcc` and `tty` formats.
To enable the shellcheck problem matchers, simply add this Action as a step **before** running the actual `shellcheck` command:

```yaml
uses: lumaxis/shellcheck-problem-matchers@v1
uses: lumaxis/shellcheck-problem-matchers@v2
run: shellcheck -f gcc *.sh
```

Expand All @@ -26,7 +26,7 @@ See the [actions tab](https://github.com/lumaxis/shellcheck-problem-matchers/act
By default, this Action installs all available problem matchers but you can specify one of the available formats explicitly:

```yaml
uses: lumaxis/shellcheck-problem-matchers@v1
uses: lumaxis/shellcheck-problem-matchers@v2
with:
format: gcc # Available options are "gcc" or "tty"
```