From 6b95dbec4dcb6ef29439879d8951a49752af0c3d Mon Sep 17 00:00:00 2001 From: Ross <9055337+chadsr@users.noreply.github.com> Date: Mon, 15 Apr 2024 18:11:48 +0200 Subject: [PATCH] actions: setup shellcheck (#1) * actions: setup shellcheck * actions: shellcheck severity level - warning --- .github/workflows/lint.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/lint.yml diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 0000000..73be4d4 --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,23 @@ +on: + push: + branches: + - master + pull_request: + +name: "Lint" +permissions: {} + +jobs: + shellcheck: + name: Shellcheck + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Run ShellCheck + uses: ludeeus/action-shellcheck@master + with: + ignore_paths: >- + ./.git_submodules + ./omz/.p10k.zsh + ./zsh/.zshrc + severity: warning