зеркало из https://github.com/github/ruby.git
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:
Родитель
187c164d71
Коммит
17d869c7d6
|
@ -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]
|
Загрузка…
Ссылка в новой задаче