add WEBUI_PORTS for tautulli #244
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint XML | |
on: [push, pull_request] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: | | |
sudo apt update -q && sudo apt install -qy libxml2-utils | |
- name: Run xmllint | |
env: | |
git_sha: ${{ github.sha }} | |
run: | | |
for file in $(git diff-tree --no-commit-id --name-only -r ${git_sha}); do | |
if [[ ${file} == *.xml ]] && [[ -f ${file} ]]; then | |
xmllint "${file}" | |
fi | |
done; |