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:
parent
187c164d71
commit
17d869c7d6
11
.github/workflows/check_encoding.yml
vendored
Normal file
11
.github/workflows/check_encoding.yml
vendored
Normal 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]
|
Loading…
x
Reference in New Issue
Block a user