mirror of
https://github.com/ruby/ruby.git
synced 2026-01-27 20:44:20 +00:00
Encoding of C-sources can not be determined, and non-ASCII code are often warned by localized compilers.
12 lines
284 B
YAML
12 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]
|