check.yml 707 B

1234567891011121314151617181920212223242526
  1. on: [workflow_call]
  2. name: "Check"
  3. permissions: {}
  4. jobs:
  5. shellcheck:
  6. name: shellcheck
  7. runs-on: ubuntu-latest
  8. steps:
  9. - uses: actions/checkout@v4
  10. - name: Run ShellCheck
  11. uses: ludeeus/action-shellcheck@master
  12. env:
  13. SHELLCHECK_OPTS: -x --source-path=src -e SC1091 -e SC2001 -e SC2002 -e SC2034 -e SC2064 -e SC2153 -e SC2317 -e SC2028
  14. - name: Validate XML
  15. uses: action-pack/valid-xml@v1
  16. with:
  17. path: "assets"
  18. file-endings: ".xml"
  19. - name: Lint Dockerfile
  20. uses: hadolint/hadolint-action@v3.1.0
  21. with:
  22. dockerfile: Dockerfile
  23. ignore: DL3006,DL3008
  24. failure-threshold: warning