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