Run shellcheck and hadolint in CI
This commit is contained in:
parent
0b8bddb1f6
commit
b2bab79562
@ -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
|
Reference in New Issue
Block a user