Longan-Labs / Arduino_CAN_BUS_MCP2515

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

CI by compiling the examples and spell checking #32

Closed designer2k2 closed 7 months ago

designer2k2 commented 1 year 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