2023-04-19 01:27:01 +02:00
|
|
|
on: [workflow_call]
|
2023-04-21 06:28:47 +02:00
|
|
|
name: "Check"
|
2023-04-19 01:27:01 +02:00
|
|
|
permissions: {}
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
shellcheck:
|
2023-04-27 17:57:32 +02:00
|
|
|
name: shellcheck
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2024-01-29 11:51:28 +01:00
|
|
|
-
|
|
|
|
name: Checkout
|
|
|
|
uses: actions/checkout@v4
|
|
|
|
-
|
|
|
|
name: Run ShellCheck
|
2023-04-27 17:57:32 +02:00
|
|
|
uses: ludeeus/action-shellcheck@master
|
2024-01-29 11:51:28 +01:00
|
|
|
env:
|
|
|
|
SHELLCHECK_OPTS: -x --source-path=src -e SC2001 -e SC2034 -e SC2064 -e SC2317 -e SC2153 -e SC2028
|
|
|
|
-
|
|
|
|
name: Lint Dockerfile
|
|
|
|
uses: hadolint/hadolint-action@v3.1.0
|
|
|
|
with:
|
|
|
|
dockerfile: Dockerfile
|
|
|
|
ignore: DL3008,DL3003,DL3006
|
|
|
|
failure-threshold: warning
|