From b2bab79562d74875ab5b9a6485afe967b8d6164d Mon Sep 17 00:00:00 2001 From: Valentin Brandl Date: Fri, 16 Aug 2024 14:45:13 +0200 Subject: [PATCH] Run shellcheck and hadolint in CI --- .gitea/workflows/{shellcheck.yml => lints.yml} | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) rename .gitea/workflows/{shellcheck.yml => lints.yml} (51%) diff --git a/.gitea/workflows/shellcheck.yml b/.gitea/workflows/lints.yml similarity index 51% rename from .gitea/workflows/shellcheck.yml rename to .gitea/workflows/lints.yml index f47cdff..13b03ad 100644 --- a/.gitea/workflows/shellcheck.yml +++ b/.gitea/workflows/lints.yml @@ -9,10 +9,16 @@ on: jobs: shellcheck: - name: Check scripts + name: Misc Linters runs-on: ubuntu-latest steps: - name: Checkout sources uses: https://gitea.com/actions/checkout@v4 - - name: Run shellcheck - run: shellcheck ./container/*.sh + + - name: Lint shellscripts + uses: ludeeus/action-shellcheck@master + + - name: Lint Dockerfile + uses: hadolint/hadolint-action@v3.1.0 + with: + dockerfile: ./Containerfile