dockur-windows/.github/workflows/check.yml

26 lines
700 B
YAML
Raw Normal View History

2024-01-14 13:32:50 +00:00
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
2024-01-22 21:27:54 +00:00
env:
2024-02-01 13:16:54 +00:00
SHELLCHECK_OPTS: -x --source-path=src -e SC1091 -e SC2001 -e SC2002 -e SC2034 -e SC2064 -e SC2153 -e SC2317 -e SC2028
2024-01-22 21:27:54 +00:00
- name: Validate XML
2024-01-22 22:15:48 +00:00
uses: action-pack/valid-xml@v1
2024-01-22 21:27:54 +00:00
with:
2024-01-22 21:34:47 +00:00
path: "assets"
file-endings: ".xml"
2024-01-29 10:19:18 +00:00
- name: Lint Dockerfile
uses: hadolint/hadolint-action@v3.1.0
with:
dockerfile: Dockerfile
2024-05-04 12:28:12 +01:00
ignore: DL3008
2024-01-29 10:19:18 +00:00
failure-threshold: warning