aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBarichello <artur@barichello.me>2022-01-29 17:37:16 -0300
committerBarichello <artur@barichello.me>2022-01-29 17:37:16 -0300
commitae6a60d5dec142cdedeed6290413e2b9b03b51cd (patch)
treeee4009e7d4dc4340bde2c9cab73767fb3b060a35
parent0fe24385ee36048b374eae3891581349a7158f39 (diff)
downloadNorthstarMods-ae6a60d5dec142cdedeed6290413e2b9b03b51cd.tar.gz
NorthstarMods-ae6a60d5dec142cdedeed6290413e2b9b03b51cd.zip
Add check-loc-encoding CI job
-rw-r--r--.github/workflows/encoding.yml14
1 files changed, 14 insertions, 0 deletions
diff --git a/.github/workflows/encoding.yml b/.github/workflows/encoding.yml
new file mode 100644
index 000000000..b4f35ee66
--- /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"