diff options
-rw-r--r-- | .github/workflows/check_encoding.yml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/.github/workflows/check_encoding.yml b/.github/workflows/check_encoding.yml new file mode 100644 index 0000000000..7b0d60bf67 --- /dev/null +++ b/.github/workflows/check_encoding.yml @@ -0,0 +1,11 @@ +name: Check C-source encoding +on: [push, pull_request] + +jobs: + check_encoding: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Check if C-sources are US-ASCII + run: | + ! grep -r -n '[^ -~]' *.[chy] include internal win32/*.[ch] |