-
Notifications
You must be signed in to change notification settings - Fork 53
27 lines (26 loc) · 1.06 KB
/
spell_check.yml
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
# This workflow runs spell_check test for Ameba Arduino SDK
name: Check word spell
on: [push, pull_request]
# workflow_dispatch:
jobs:
spell-check:
name: Run spell-check check
runs-on: ubuntu-latest
strategy:
matrix:
path:
- 'Arduino_package/hardware/cores'
- 'Arduino_package/hardware/libraries'
steps:
- name: Checkout repository # and submodules
uses: actions/checkout@v4
# with:
# submodules: recursive
- name: Run spell-check for multi-floders
# uses: codespell-project/actions-codespell@master
uses: codespell-project/actions-codespell@v2
with:
skip: Arduino_package/hardware/libraries/SoftwareSerial/src/Adafruit_GPS.cpp,Arduino_package/hardware/libraries/SoftwareSerial/src/Adafruit_GPS.h,Arduino_package/hardware/libraries/SoftwareSerial/src/SoftwareSerial.cpp,Arduino_package/hardware/libraries/SoftwareSerial/src/SoftwareSerial.h
ignore_words_list: ameba
# ignore_words_file: Ameba_misc/Spell_Check_Ignore/.codespellignore
path: ${{ matrix.path }}