forked from microsoft/cpp_client_telemetry
-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (27 loc) · 824 Bytes
/
spellcheck.yml
File metadata and controls
35 lines (27 loc) · 824 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
name: spellcheck
on:
push:
branches: [ master, main ]
pull_request:
branches: [ master, main ]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
continue-on-error: true
- 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 ./**/*.md
./bin/misspell -error ./**/*.txt
./bin/misspell -error ./examples/**/*
find . -type f -wholename './lib/*.*' | grep -v json\\.hpp | xargs ./bin/misspell -error
./bin/misspell -error ./tests/**/*