summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJoakim Hulthe <joakim@hulthe.net>2024-02-28 14:38:29 +0100
committerJoakim Hulthe <joakim@hulthe.net>2024-03-05 11:36:13 +0100
commit941d74aaf4e0f97e19ee29146e8e48c0fcb25e75 (patch)
tree4921f5e2fe46ea07ddf0158ee241f57320a2510b
parent0b9ac24b94b99e290fae551fdbea4d8e0ed65d9b (diff)
downloadmullvadvpn-941d74aaf4e0f97e19ee29146e8e48c0fcb25e75.tar.xz
mullvadvpn-941d74aaf4e0f97e19ee29146e8e48c0fcb25e75.zip
Run shellcheck as a github workflow
-rw-r--r--.github/workflows/shellcheck.yml17
1 files changed, 17 insertions, 0 deletions
diff --git a/.github/workflows/shellcheck.yml b/.github/workflows/shellcheck.yml
new file mode 100644
index 0000000000..e340123541
--- /dev/null
+++ b/.github/workflows/shellcheck.yml
@@ -0,0 +1,17 @@
+on:
+ pull_request:
+ workflow_dispatch:
+
+jobs:
+ shellcheck:
+ name: Shellcheck
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v3
+ - name: Run ShellCheck
+ uses: ludeeus/action-shellcheck@2.0.0
+ with:
+ ignore_paths: >-
+ ./android/gradlew
+ env:
+ SHELLCHECK_OPTS: --external-sources