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:
|
|
|
|
SHELLCHECK_OPTS: -x --source-path=src -e SC1091 -e SC2001 -e SC2034 -e SC2064 -e SC2317 -e SC2153
|
|
|
|
- name: Validate XML
|
|
|
|
uses: anyone-developer/anyone-validate-xml@main
|
|
|
|
with:
|
|
|
|
file-extension: '.xml'
|
|
|
|
read-path: 'assets'
|