32 lines
594 B
YAML
32 lines
594 B
YAML
name: sanitycheck
|
|
|
|
on:
|
|
pull_request:
|
|
branches: [ master ]
|
|
|
|
jobs:
|
|
misspell:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: check out code
|
|
uses: actions/checkout@v2
|
|
|
|
- name: install misspell
|
|
run: |
|
|
curl -L -o ./install-misspell.sh https://git.io/misspell
|
|
sh ./install-misspell.sh
|
|
|
|
- name: run misspell
|
|
run: ./bin/misspell -error .
|
|
|
|
encoding:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: check out code
|
|
uses: actions/checkout@v2
|
|
|
|
- name: detect non-ASCII encoding and trailing space
|
|
run: python3 ./build/sanitycheck.py
|