mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
[ci] Add CI spelling check and fix spelling errors (#8882)
reviewdog/action-misspell is used on frc-docs. It has a dictionary of commonly misspelled words, so it has less false positives then other tools.
This commit is contained in:
24
.github/workflows/lint-format.yml
vendored
24
.github/workflows/lint-format.yml
vendored
@@ -123,3 +123,27 @@ jobs:
|
||||
echo '' >> $GITHUB_STEP_SUMMARY
|
||||
echo '```' >> $GITHUB_STEP_SUMMARY
|
||||
if: ${{ failure() }}
|
||||
|
||||
check-spelling:
|
||||
runs-on: ubuntu-24.04
|
||||
steps:
|
||||
- uses: actions/checkout@v6
|
||||
- name: misspell
|
||||
uses: reviewdog/action-misspell@v1
|
||||
with:
|
||||
reporter: "github-check"
|
||||
fail_level: "error"
|
||||
exclude: |
|
||||
**/*.svg
|
||||
**/thirdparty/**
|
||||
**/upstream_utils/**
|
||||
**/generated/**
|
||||
./wpigui/src/main/native/cpp/portable-file-dialogs.*
|
||||
./wpimath/src/main/native/include/wpi/units/base.hpp
|
||||
./wpinet/src/main/native/linux/AvahiClient.*
|
||||
./wpinet/src/main/native/cpp/http_parser.cpp
|
||||
./wpinet/src/main/native/include/wpi/net/http_parser.hpp
|
||||
./wpiutil/src/main/native/include/wpi/util/FastQueue.hpp
|
||||
./wpiutil/src/test/native/cpp/json/**
|
||||
./wpiutil/src/test/native/cpp/llvm/**
|
||||
./wpiutil/src/test/native/cpp/span/**
|
||||
|
||||
Reference in New Issue
Block a user