diff options
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/android-xml-tidy.yml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/.github/workflows/android-xml-tidy.yml b/.github/workflows/android-xml-tidy.yml new file mode 100644 index 0000000000..3b533c0d69 --- /dev/null +++ b/.github/workflows/android-xml-tidy.yml @@ -0,0 +1,21 @@ +name: Android app XML formatting verifier +on: + # Run verifier whenever an Android XML file changes + push: + paths: + - .github/workflows/android-xml-tidy.yml + - android/**/*.xml + # Run verifier if requested manually from the Actions tab + workflow_dispatch: +jobs: + xml-tidy: + runs-on: ubuntu-latest + steps: + # Checkout repository + - uses: actions/checkout@v2 + + # Check formatting + - run: | + sudo apt-get install tidy + source ci/ci-android-xml.sh + tidy-verify-xml |
