Longan-Labs / Arduino_CAN_BUS_MCP2515

Arduino CAN Bus library, MCP2515/MCP2551
https://www.longan-labs.cc/
MIT License
118 stars 371 forks source link

CI by compiling the examples and spell checking #32

Closed designer2k2 closed 4 months ago

designer2k2 commented 9 months ago

Hello, thanks for this Library! As there is currently no CI here maybe this can help you?

This PR brings a github action that runs on every push or pull request. It takes the current state of the repository and compiles every example. It is done using the official arduino "compile-sketch" action: https://github.com/arduino/compile-sketches It is a minimalistic setup as it compiles only for the default board (Arduino Uno). If all examples compiled without error, its considered passing.

Further it runs a spell check, this PR is also fixing all spell errors found from this very CI.

An example run: https://github.com/designer2k2/Arduino_CAN_BUS_MCP2515/actions/runs/6915871426/job/18815299906

greetings from Austria, Stephan