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

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]