From 8be28b839c548eb80fb41ed21fe2a1ab500f4f0a Mon Sep 17 00:00:00 2001 From: d3vyce <44915747+d3vyce@users.noreply.github.com> Date: Mon, 20 Mar 2023 21:11:30 +0100 Subject: [PATCH] Create shellcheck.yml --- .gitea/workflows/shellcheck.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .gitea/workflows/shellcheck.yml diff --git a/.gitea/workflows/shellcheck.yml b/.gitea/workflows/shellcheck.yml new file mode 100644 index 0000000..996e08f --- /dev/null +++ b/.gitea/workflows/shellcheck.yml @@ -0,0 +1,14 @@ +name: Shellcheck +on: [push] +jobs: + shellcheck: + runs-on: ubuntu-latest + steps: + - name: Check out repository code + uses: actions/checkout@v3 + - name: Set up shellcheck + run: | + apt update + apt install -y shellcheck + - name: Analysing the code with shellcheck + run: find . -name '*.sh' -exec shellcheck {} \;