summaryrefslogtreecommitdiff
path: root/.github/workflows/lint.yaml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/lint.yaml')
-rw-r--r--.github/workflows/lint.yaml22
1 files changed, 9 insertions, 13 deletions
diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml
index 87f93a00..f5aab0eb 100644
--- a/.github/workflows/lint.yaml
+++ b/.github/workflows/lint.yaml
@@ -22,17 +22,13 @@ jobs:
- name: Run luacheck
run: luacheck *.lua lua/
-
- shell-linter:
- name: "Linting with shellcheck"
- runs-on: ubuntu-20.04
+
+ shellcheck:
+ name: Shellcheck
+ runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v2
-
- - name: Use shellcheck
- run: sudo apt-get install shellcheck
-
- - name: Run shellcheck
- run: |
- pwd
- shellcheck $(find . -name "*.sh")
+ - uses: actions/checkout@v2
+ - name: Run ShellCheck
+ uses: ludeeus/action-shellcheck@master
+ with:
+ scandir: './utils'