aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/encoding.yml
blob: b1d851a147a6152bc6f0e0ef90f4d21d2a0ed65b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
name: Build
on: [push, pull_request]

jobs:
  check-loc-encoding:
    runs-on: ubuntu-22.04
    steps:
      - name: Checkout
        uses: actions/checkout@v4
      - name: Check localization files encoding
        run: |
          files=$(ls Northstar.Client/mod/resource/northstar_client_localisation_*.txt)
          IFS=$'\n'; files=($files); unset IFS; ! file --mime "${files[@]}" | grep -v "charset=utf-16le"
  check-missing-translations:
    runs-on: ubuntu-22.04
    steps:
      - name: Checkout
        uses: actions/checkout@v4
      - name: Look out for missing translations
        run: node .github/build/find-missing-translations.js
        continue-on-error: true