-
-
Notifications
You must be signed in to change notification settings - Fork 223
36 lines (31 loc) · 880 Bytes
/
Copy pathcheck_typos.yml
File metadata and controls
36 lines (31 loc) · 880 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Check Typos
on:
push:
branches:
- main
pull_request:
jobs:
check-typos:
strategy:
fail-fast: true
matrix:
os: [ ubuntu-latest ]
python-version: [ "3.*" ]
runs-on: ${{ matrix.os }}
steps:
#----------------------------------------------
# check-out repo and set-up python
#----------------------------------------------
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
#----------------------------------------------
# check grammar with typos
#----------------------------------------------
- name: Check grammar with typos
run: |
pip3 install typos
typos