diff options
| author | Janito Vaqueiro Ferreira Filho <janito@mullvad.net> | 2021-02-12 21:48:53 +0000 |
|---|---|---|
| committer | Janito Vaqueiro Ferreira Filho <janito@mullvad.net> | 2021-02-15 14:14:20 +0000 |
| commit | 0b2b2d098469887d8199033993d7e8957f6a6d72 (patch) | |
| tree | f4e0d277e1b05c9d08e674be934f6874b2b4d89e /.github/workflows | |
| parent | 1ab71ef07f6492591b664eb02c95fd347e557128 (diff) | |
| download | mullvadvpn-0b2b2d098469887d8199033993d7e8957f6a6d72.tar.xz mullvadvpn-0b2b2d098469887d8199033993d7e8957f6a6d72.zip | |
Add GitHub Actions workflow for linting XML files
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 |
