arduino/Compile Arduino Sketches

Checks whether Arduino sketches will compile and produces a report of data from the compilations

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jul 2, 2026
License
GPL 3.0

Pinned Snippet

workflow.ymlSHA-pinned
uses: arduino/compile-sketches@d7af6619a62e765d91f0a4d65b40cf061537a15d # v1.1.3

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
cli-versionVersion of Arduino CLI to use when buildingyeslatest
fqbnFull qualified board name, with Boards Manager URL if neededyesarduino:avr:uno
librariesYAML-format list of library dependencies to installyes- source-path: ./
platformsYAML-format list of platform dependencies to installyes""
sketch-pathsYAML-format list of paths containing sketches to compile.yes- examples
cli-compile-flagsYAML-format list of flags to add to the Arduino CLI sketch compilation command.no""
verboseSet to true to show verbose output in the logyesfalse
sketches-report-pathPath in which to save a JSON formatted file containing data from the sketch compilationsyessketches-reports
github-tokenGitHub access token used to get information from the GitHub API. Only needed if you are using the deltas report feature in a private repository.yes""
enable-deltas-reportSet to true to cause the action to determine the change in memory usage and compiler warnings of the compiled sketches between the head and base refs of a PR and the immediate parent commit of a pushyesfalse
enable-warnings-reportSet to true to cause the action to record the compiler warning count for each sketch compilation in the sketches reportyesfalse

no outputs