From ae6a60d5dec142cdedeed6290413e2b9b03b51cd Mon Sep 17 00:00:00 2001 From: Barichello Date: Sat, 29 Jan 2022 17:37:16 -0300 Subject: Add check-loc-encoding CI job --- .github/workflows/encoding.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .github/workflows/encoding.yml diff --git a/.github/workflows/encoding.yml b/.github/workflows/encoding.yml new file mode 100644 index 00000000..b4f35ee6 --- /dev/null +++ b/.github/workflows/encoding.yml @@ -0,0 +1,14 @@ +name: Build +on: + push: + +jobs: + check-loc-encoding: + runs-on: ubuntu-20.04 + steps: + - name: Checkout + uses: actions/checkout@v2 + - name: Check localization files encoding + run: | + files=$(ls Northstar.Client/mod/resource/*.txt) + IFS=$'\n'; files=($files); unset IFS; ! file --mime "${files[@]}" | grep -v "charset=utf-16le" -- cgit v1.2.3