mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
17d869c7d6
Encoding of C-sources can not be determined, and non-ASCII code are often warned by localized compilers.
11 lines
284 B
YAML
11 lines
284 B
YAML
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]
|