mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-10-03 19:29:44 +08:00
Fix caps, hyphenation, and display filename in monospace
@@ -1,4 +1,4 @@
|
|||||||
Simple test job for GitLab (analyse testScript.sh):
|
Simple test job for GitLab (analyse `testScript.sh`):
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
test:
|
test:
|
||||||
@@ -8,7 +8,7 @@ test:
|
|||||||
- shellcheck testScript.sh
|
- shellcheck testScript.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
Here is a CI job that will lint all shell scripts in a git repository:
|
Here is a CI job that will lint all shell-scripts in a Git repository:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
test:
|
test:
|
||||||
@@ -19,4 +19,4 @@ test:
|
|||||||
- apk add git
|
- apk add git
|
||||||
script:
|
script:
|
||||||
- git ls-files --exclude='*.sh' --ignored -z | xargs -0r shellcheck
|
- git ls-files --exclude='*.sh' --ignored -z | xargs -0r shellcheck
|
||||||
```
|
```
|
||||||
|
Reference in New Issue
Block a user