-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add arduino/report-size-deltas action
This action comments on the pull request with a report on the resulting change in memory usage of the Arduino sketches compiled by the arduino/compile-sketches action.
- Loading branch information
Showing
2 changed files
with
36 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: Report Size Deltas | ||
|
||
# See: https://docs.github.com/en/free-pro-team@latest/actions/reference/events-that-trigger-workflows | ||
on: | ||
push: | ||
paths: | ||
- ".github/workflows/report-size-deltas.yml" | ||
schedule: | ||
# Run at the minimum interval allowed by GitHub Actions. | ||
# Note: GitHub Actions periodically has outages which result in workflow failures. | ||
# In this event, the workflows will start passing again once the service recovers. | ||
- cron: "*/5 * * * *" | ||
workflow_dispatch: | ||
repository_dispatch: | ||
|
||
jobs: | ||
report: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Comment size deltas reports to PRs | ||
uses: arduino/report-size-deltas@v1 | ||
with: | ||
# Regex matching the names of the workflow artifacts created by the "Compile Examples" workflow | ||
sketches-reports-source: ^sketches-report-.+ |