Skip to content

Commit baa1370

Browse files
authored
Merge pull request arduino-libraries#382 from per1234/update-spell-check
Modernize spell checking infrastructure
2 parents 30e2cac + 0178fdf commit baa1370

File tree

14 files changed

+127
-151
lines changed

14 files changed

+127
-151
lines changed

.codespellrc

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/spell-check/.codespellrc
2+
# See: https://github.com/codespell-project/codespell#using-a-config-file
3+
[codespell]
4+
# In the event of a false positive, add the problematic word, in all lowercase, to a comma-separated list here:
5+
ignore-words-list = ,
6+
skip = ./.git,./.licenses,__pycache__,node_modules,./go.mod,./go.sum,./package-lock.json,./poetry.lock,./yarn.lock,./extras/test
7+
builtin = clear,informal,en-GB_to_en-US
8+
check-filenames =
9+
check-hidden =

.github/workflows/spell-check.yml

+15-6
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,25 @@
1+
# Source: https://github.com/per1234/.github/blob/main/workflow-templates/spell-check.md
12
name: Spell Check
23

3-
on: [push, pull_request]
4+
# See: https://docs.github.com/en/actions/reference/events-that-trigger-workflows
5+
on:
6+
push:
7+
pull_request:
8+
schedule:
9+
# Run every Tuesday at 8 AM UTC to catch new misspelling detections resulting from dictionary updates.
10+
- cron: "0 8 * * TUE"
11+
workflow_dispatch:
12+
repository_dispatch:
413

514
jobs:
6-
build:
15+
spellcheck:
716
runs-on: ubuntu-latest
17+
permissions:
18+
contents: read
819

920
steps:
10-
- name: Checkout
21+
- name: Checkout repository
1122
uses: actions/checkout@v4
1223

1324
- name: Spell check
14-
uses: arduino/actions/libraries/spell-check@master
15-
with:
16-
skip-paths: ./extras/test
25+
uses: codespell-project/actions-codespell@v2

CHANGELOG

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ ArduinoBLE ?.?.? - ????.??.??
22

33
ArduinoBLE 1.1.2 - 2019.11.12
44

5-
* cordio: switch to lower power when polling with timeout
5+
* cordio: switch to lower power when polling with timeout
66
* Fixed issue with wrong types for disconnection event handling. Thanks @cparata
77

88
ArduinoBLE 1.1.1 - 2019.09.05

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
[![Compile Examples Status](https://github.com/arduino-libraries/ArduinoBLE/workflows/Compile%20Examples/badge.svg)](https://github.com/arduino-libraries/ArduinoBLE/actions?workflow=Compile+Examples) [![Spell Check Status](https://github.com/arduino-libraries/ArduinoBLE/workflows/Spell%20Check/badge.svg)](https://github.com/arduino-libraries/ArduinoBLE/actions?workflow=Spell+Check)
44

5-
Enables Bluetooth® Low Energy connectivity on the Arduino MKR WiFi 1010, Arduino UNO WiFi Rev.2, Arduino Nano 33 IoT, Arduino Nano 33 BLE, Arduino Portenta H7, Arduino Giga R1 and Arduino UNO R4 WiFi.
5+
Enables Bluetooth® Low Energy connectivity on the Arduino MKR WiFi 1010, Arduino UNO WiFi Rev2, Arduino Nano 33 IoT, Arduino Nano 33 BLE, Arduino Portenta H7, Arduino Giga R1 and Arduino UNO R4 WiFi.
66

77
This library supports creating a Bluetooth® Low Energy peripheral & central mode.
88

9-
For the Arduino MKR WiFi 1010, Arduino UNO WiFi Rev.2, and Arduino Nano 33 IoT boards, it requires the NINA module to be running [Arduino NINA-W102 firmware](https://github.com/arduino/nina-fw) v1.2.0 or later.
9+
For the Arduino MKR WiFi 1010, Arduino UNO WiFi Rev2, and Arduino Nano 33 IoT boards, it requires the NINA module to be running [Arduino NINA-W102 firmware](https://github.com/arduino/nina-fw) v1.2.0 or later.
1010

1111
For the Arduino UNO R4 WiFi, it requires the ESP32-S3 module to be running [firmware](https://github.com/arduino/uno-r4-wifi-usb-bridge) v0.2.0 or later.
1212

0 commit comments

Comments
 (0)