2023-03-22 11:06:45 -05:00
|
|
|
name: Check translations
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: [ "master" ]
|
|
|
|
pull_request:
|
|
|
|
branches: [ "master" ]
|
|
|
|
|
|
|
|
workflow_dispatch:
|
|
|
|
|
2023-03-29 07:08:46 -05:00
|
|
|
concurrency:
|
|
|
|
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
|
|
|
|
cancel-in-progress: true
|
|
|
|
|
2023-03-22 11:06:45 -05:00
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
|
2023-03-28 08:23:56 -05:00
|
|
|
- name: Install platform dependencies
|
|
|
|
run: |
|
|
|
|
sudo apt update
|
|
|
|
sudo apt install -y python3-babel python3-jinja2
|
2023-03-22 11:06:45 -05:00
|
|
|
|
|
|
|
- name: Check we can extract messages
|
|
|
|
run: make msg-extract
|
|
|
|
|
|
|
|
- name: Check we can update the catalogs
|
|
|
|
run: make msg-update
|
|
|
|
|
|
|
|
- name: Check the catalogs will compile
|
|
|
|
run: make msg-compile
|