Skip to content

Commit 1acee02

Browse files
committed
Bring project files into compliance with the Prettier formatting style
1 parent d7b3cc1 commit 1acee02

File tree

4 files changed

+21
-21
lines changed

4 files changed

+21
-21
lines changed

.github/workflows/test-integration.yml

+10-10
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,18 @@ name: Run integration tests
33
on:
44
pull_request:
55
paths:
6-
- '.github/workflows/test-integration.yml'
7-
- '.github/workflows/testdata/**'
8-
- 'action.yml'
9-
- 'Dockerfile'
10-
- 'reportsizedeltas/**'
6+
- ".github/workflows/test-integration.yml"
7+
- ".github/workflows/testdata/**"
8+
- "action.yml"
9+
- "Dockerfile"
10+
- "reportsizedeltas/**"
1111
push:
1212
paths:
13-
- '.github/workflows/test-integration.yml'
14-
- '.github/workflows/testdata/**'
15-
- 'action.yml'
16-
- 'Dockerfile'
17-
- 'reportsizedeltas/**'
13+
- ".github/workflows/test-integration.yml"
14+
- ".github/workflows/testdata/**"
15+
- "action.yml"
16+
- "Dockerfile"
17+
- "reportsizedeltas/**"
1818
schedule:
1919
# Run daily at 8 AM UTC to catch breakage caused by changes to external resources.
2020
- cron: "0 8 * * *"

README.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ In this usage, the `sketches-reports-source` defines the path to the folder cont
7373
```yaml
7474
on:
7575
schedule:
76-
- cron: '*/5 * * * *'
76+
- cron: "*/5 * * * *"
7777
jobs:
7878
build:
7979
runs-on: ubuntu-latest
@@ -82,6 +82,7 @@ jobs:
8282
```
8383
8484
This must be used in conjunction with a workflow that runs the [`arduino/compile-sketches`](https://github.com/arduino/compile-sketches) action and uploads the resulting sketches report to a [workflow artifact](https://help.github.com/en/actions/configuring-and-managing-workflows/persisting-workflow-data-using-artifacts):
85+
8586
```yaml
8687
on: [push, pull_request]
8788
jobs:
@@ -123,7 +124,7 @@ jobs:
123124
enable-deltas-report: true
124125
sketches-report-path: ${{ env.SKETCHES_REPORTS_PATH }}
125126
126-
# This step is needed to pass the size data to the report job
127+
# This step is needed to pass the size data to the report job
127128
- name: Upload sketches report to workflow artifact
128129
uses: actions/upload-artifact@v3
129130
with:
@@ -132,7 +133,7 @@ jobs:
132133
133134
# When using a matrix to compile for multiple boards, it's necessary to use a separate job for the deltas report
134135
report:
135-
needs: compile # Wait for the compile job to finish to get the data for the report
136+
needs: compile # Wait for the compile job to finish to get the data for the report
136137
if: github.event_name == 'pull_request' # Only run the job when the workflow is triggered by a pull request
137138
runs-on: ubuntu-latest
138139
steps:

Taskfile.yml

-1
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,6 @@ tasks:
134134
cmds:
135135
- npm install
136136

137-
138137
# Parameter variables:
139138
# - PROJECT_PATH: path of the npm-managed project. Default value: "./"
140139
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/check-npm-task/Taskfile.yml

action.yml

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
name: 'Report Arduino Sketch Size Deltas'
2-
description: 'Comments on the pull request with a report on the resulting change in memory usage of Arduino sketches'
1+
name: "Report Arduino Sketch Size Deltas"
2+
description: "Comments on the pull request with a report on the resulting change in memory usage of Arduino sketches"
33
inputs:
44
sketches-reports-source:
5-
description: 'When run from scheduled workflow, name of the workflow artifact that contains sketches reports. When run from a pull request triggered workflow, path to the folder containing sketches reports.'
6-
default: 'sketches-reports'
5+
description: "When run from scheduled workflow, name of the workflow artifact that contains sketches reports. When run from a pull request triggered workflow, path to the folder containing sketches reports."
6+
default: "sketches-reports"
77
github-token:
8-
description: 'GitHub access token used to comment the memory usage comparison results to the PR thread'
8+
description: "GitHub access token used to comment the memory usage comparison results to the PR thread"
99
default: ${{ github.token }}
1010
runs:
11-
using: 'docker'
12-
image: 'Dockerfile'
11+
using: "docker"
12+
image: "Dockerfile"

0 commit comments

Comments
 (0)