arduino/Compile Arduino Sketches
Checks whether Arduino sketches will compile and produces a report of data from the compilations
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Jul 2, 2026
- License
- GPL 3.0
Pinned Snippet
uses: arduino/compile-sketches@d7af6619a62e765d91f0a4d65b40cf061537a15d # v1.1.3tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| cli-version | Version of Arduino CLI to use when building | yes | latest |
| fqbn | Full qualified board name, with Boards Manager URL if needed | yes | arduino:avr:uno |
| libraries | YAML-format list of library dependencies to install | yes | - source-path: ./ |
| platforms | YAML-format list of platform dependencies to install | yes | "" |
| sketch-paths | YAML-format list of paths containing sketches to compile. | yes | - examples |
| cli-compile-flags | YAML-format list of flags to add to the Arduino CLI sketch compilation command. | no | "" |
| verbose | Set to true to show verbose output in the log | yes | false |
| sketches-report-path | Path in which to save a JSON formatted file containing data from the sketch compilations | yes | sketches-reports |
| github-token | GitHub 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-report | Set 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 push | yes | false |
| enable-warnings-report | Set to true to cause the action to record the compiler warning count for each sketch compilation in the sketches report | yes | false |
Outputs
no outputs