Bump actions/cache from 3 to 4 #6
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: Validate translations | |
on: | |
push: | |
branches: | |
- master | |
paths-ignore: | |
- '*.md' | |
- 'docs/**' | |
pull_request: | |
types: [ opened, synchronize ] | |
paths-ignore: | |
- '*.md' | |
- 'docs/**' | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
fmt-check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
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 |