mirror of
https://github.com/dockur/windows.git
synced 2024-12-12 16:35:44 +00:00
26 lines
714 B
YAML
26 lines
714 B
YAML
on: [workflow_call]
|
|
name: "Check"
|
|
permissions: {}
|
|
|
|
jobs:
|
|
shellcheck:
|
|
name: shellcheck
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Run ShellCheck
|
|
uses: ludeeus/action-shellcheck@master
|
|
env:
|
|
SHELLCHECK_OPTS: -x --source-path=src -e SC1091 -e SC2001 -e SC2002 -e SC2034 -e SC2064 -e SC2153 -e SC2317 -e SC2028
|
|
- name: Validate XML
|
|
uses: action-pack/valid-xml@v1
|
|
with:
|
|
path: "assets"
|
|
file-endings: ".xml"
|
|
- name: Lint Dockerfile
|
|
uses: hadolint/hadolint-action@v3.1.0
|
|
with:
|
|
dockerfile: Dockerfile
|
|
ignore: DL3008,DL4006,SC3037
|
|
failure-threshold: warning
|