1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/.github/workflows/check_encoding.yml
Nobuyoshi Nakada 17d869c7d6
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.
2020-08-10 19:46:13 +09:00

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]