aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorDre <dre2004@gmail.com>2020-07-18 00:49:32 +1000
committerGitHub <noreply@github.com>2020-07-17 22:49:32 +0800
commit90904b3f420d41cf56c62b6d96234b199399f3e4 (patch)
tree81a1daa4167e77a97fb645cc13d1bd245d145e88 /.github
parenta7afa1161071e2a41e969ddd24d29661435f1747 (diff)
workflow: add shellcheck as a linter (#6202)
Co-authored-by: ᴜɴᴋɴᴡᴏɴ <u@gogs.io>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/shell.yml13
1 files changed, 13 insertions, 0 deletions
diff --git a/.github/workflows/shell.yml b/.github/workflows/shell.yml
new file mode 100644
index 00000000..1926472c
--- /dev/null
+++ b/.github/workflows/shell.yml
@@ -0,0 +1,13 @@
+name: Shell
+on:
+ push:
+ branches: [master]
+ pull_request:
+jobs:
+ shellcheck:
+ name: Shellcheck
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@master
+ - name: Run ShellCheck
+ uses: ludeeus/action-shellcheck@master