Merge pull request #50 from LightBlueCube/patch-5 #95
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: Build | |
on: [push, pull_request] | |
jobs: | |
check-loc-encoding: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- 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@v3 | |
- name: Look out for missing translations | |
run: node .github/build/find-missing-translations.js | |
continue-on-error: true |