Run shellcheck and hadolint in CI
Some checks failed
/ Build App (push) Failing after 28s
/ Misc Linters (push) Successful in 35s

This commit is contained in:
Valentin Brandl 2024-08-16 14:45:13 +02:00
parent 0b8bddb1f6
commit b2bab79562
Signed by: vbrandl
GPG Key ID: CAD4DA1A789125F9

View File

@ -9,10 +9,16 @@ on:
jobs: jobs:
shellcheck: shellcheck:
name: Check scripts name: Misc Linters
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout sources - name: Checkout sources
uses: https://gitea.com/actions/checkout@v4 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