2024-01-14 14:32:50 +01: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 22:27:54 +01:00
|
|
|
env:
|
2024-01-24 05:54:26 +01:00
|
|
|
SHELLCHECK_OPTS: -x --source-path=src -e SC1091 -e SC2001 -e SC2002 -e SC2034 -e SC2064 -e SC2153 -e SC2317
|
2024-01-22 22:27:54 +01:00
|
|
|
- name: Validate XML
|
2024-01-22 23:15:48 +01:00
|
|
|
uses: action-pack/valid-xml@v1
|
2024-01-22 22:27:54 +01:00
|
|
|
with:
|
2024-01-22 22:34:47 +01:00
|
|
|
path: "assets"
|
|
|
|
file-endings: ".xml"
|