aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/encoding.yml
blob: b4f35ee6631fd987416dd228a4370e60999e7758 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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"