Skip to content

Add workflow to check translation files are up to date #1

Add workflow to check translation files are up to date

Add workflow to check translation files are up to date #1

Workflow file for this run

name: Check Translations
on: [push, pull_request]
jobs:
lupdate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Qt
run: |
sudo apt-mark hold grub-efi-amd64-signed
sudo apt update
sudo apt upgrade
sudo apt install qtbase5-dev qtbase5-doc-dev qtconnectivity5-dev qtconnectivity5-doc-html qttools5-dev qttools5-dev-tools
- name: Build translation files
run: |
cmake -S "$GITHUB_WORKSPACE" -B "$RUNNER_TEMP"
cmake --build "$RUNNER_TEMP" {cli,gui,QtPokit}_lupdate
[[ -z $(git status --porcelain | tee /dev/stderr) ]]