Check if C-sources are US-ASCII

Encoding of C-sources can not be determined, and non-ASCII code
are often warned by localized compilers.
This commit is contained in:
Nobuyoshi Nakada 2020-08-10 19:39:58 +09:00
parent 187c164d71
commit 17d869c7d6
No known key found for this signature in database
GPG Key ID: 7CD2805BFA3770C6

11
.github/workflows/check_encoding.yml vendored Normal file
View File

@ -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]