mirror of
https://github.com/dockur/proxmox.git
synced 2026-07-27 16:54:51 +07:00
36 lines
877 B
YAML
36 lines
877 B
YAML
on: [workflow_call]
|
|
|
|
name: "Check"
|
|
|
|
permissions: {}
|
|
|
|
jobs:
|
|
shellcheck:
|
|
name: shellcheck
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
-
|
|
name: Checkout code
|
|
uses: actions/checkout@v7
|
|
- parallel:
|
|
-
|
|
name: Run ShellCheck
|
|
uses: ludeeus/action-shellcheck@master
|
|
env:
|
|
SHELLCHECK_OPTS: >-
|
|
-x
|
|
--source-path=src
|
|
-e SC2129
|
|
-e SC2034
|
|
-e SC2317
|
|
-
|
|
name: Lint Dockerfile
|
|
uses: hadolint/hadolint-action@v3.3.0
|
|
with:
|
|
dockerfile: Dockerfile
|
|
ignore: DL3008,DL3018,DL3020,DL3029,DL3059,DL4001,DL4006,DL3006
|
|
failure-threshold: warning
|
|
-
|
|
name: Validate JSON and YML files
|
|
uses: GrantBirki/json-yaml-validate@v5
|