name: Validate translations on: push: branches: - master pull_request: types: [ opened, synchronize ] jobs: fmt-check: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v2 with: fetch-depth: 0 - name: Install polib run: sudo apt-get update && sudo apt-get install -y python3-polib - name: Check working-directory: ${{github.workspace}} shell: bash run: python3 tools/validate_translations.py